Question: 4) Write a program that generates a random number between (5-10) randomly. After that, your program will ask to user entering the numbers as much
4) Write a program that generates a random number between (5-10) randomly. After that, your program will ask to user entering the numbers as much as generated number. Name of the output file will be generated_numbers.txt. Then, reads the numbers from the generated numbers.txt file and display the number of total number, average of the numbers and sum of the all numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
