3. Get a number n from a user. Generate n random numbers and store in the list. Display the list. Compute summation and average of all numbers in the list then display the result on screen.
4. Given the same instruction to problem #2 and problem #3 above but we want to …
a. Display the list
b. Show the top 5 numbers in the list
c. Give the minimum number in the list,
d. Give the maximum number in the list.
5. We would like to have the same functionalities given in problem #3 and problem #4. Store all output data into a file named yourName-OUTPUT5.txt
Comments
Leave a comment