CMIS 150 SHAPE Term 5 1991 Homework Due 1 July Create a program that will generate and sort an array of random integers. Allow the user to specify the size of the array (how many integers it will have) up to the declared size of the array. Generate random integers and fill the array with them. Sort the array with the selection sort. Count the number of comparisons done by the sorting. This will give a rough indication of the amount of work done by the sorting. Neatly display the elements of the sorted array. Repeat until user gets bored. Notice that the amount of "work" increases faster than the size of the array. An array with twice as many elements takes much more than twice the amount of work to sort. Stay tuned for CMIS 250 to find out more.