6.1 You enter the integers as follows:

Enter integers in the range 0-50.
Signal end of list with a number outside the range.

the program counts how many of each integer in that range are entered.

6.2 Same idea but with a different range

6.3 You randomly generate the numbers that are then sorted:

Selection sort of 50 random numbers in descending order:
97 96 95 93 93 87 86 84 78 77 77 76 71 71 66 66 65 65 59 55 54 50 45 44 42 41 39
39 38 37 36 34 33 31 29 28 27 25 24 22 16 15 15 13 7 7 6 6 6 2

Jerry Ross