Write a program that randomly fills an array
Write a program that randomly fills an array of size 50 with integer values from 1 to 20 inclusively. You will need to create a global constant for the size of the array; this will be used for declaring and accessing the contents of the array. Once the array has been loaded with values display it to the screen and then sort the array using an descending order selection sort modified to print out the array contents after each pass of the sort. The output after sorting is to be a two column list. The first column is a list of the distinct array elements; the second column is the count of the number of occurrences of each element.
You'll get a 768.0bytes .ZIP file.