Hi there,

I'm trying to write a console app in visual studio 2010 that will read a set of numbers and construct a histogram that shows how many numbers are between each two numbers...if that makes sense. To clear it up, i'm looking for an output like:

0 - 10 ***
11 - 20 ****
21 - 30 **

So in that example, 3 numbers (*) have been found in the read file between 0 and 10. 4 numbers (*) have been found in the read file between 11 and 20 and so on.

The read file looks like this:

1 2 24 13 11 9 20 28 16

So it's just a pretty basic txt file.

Any help on how to code this?
Thanks!