Question: Exercise 1: Write a program that generate a random list of 20 numbers between (X+3) and (Y+15) (inclusive) store them in 1D array w[] and
Exercise 1: Write a program that generate a random list of 20 numbers between (X+3) and (Y+15) (inclusive) store them in 1D array w[] and find a) The maximum value among the list. b) The sum of the list. c) The average of the lest. X and Y are the last two digits of your student ID number. Show screenshot of your resulted array list of random numbers and the results a, b and c. 7/Exl solution # include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
