Question: Write a program where you generate 5 random numbers using the rand ( ) function. These numbers should be between 0 - 1 0 (
Write a program where you generate random numbers using the rand function. These numbers should be between inclusive Display how many of these numbers are greater than Display the numbers generated. Display their total and display the average of the five numbers.
Your program should also ask the user if they want to repeat. If the user enters y or Y then the program repeats again, otherwise the program terminates.
Sample Run Yours may be different depending the random numbers your program created
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
