Question: Design a modular program that accepts as input 2 0 numbers between 0 and 1 0 0 ( including 0 and 1 0 0 )

Design a modular program that accepts as input 20 numbers between 0 and 100(including 0 and 100). The program should store the numbers in an array and then display the following information:
The lowest number in the array
The highest number in the array
The total of the numbers in the array
The average of the numbers in the array
Your program should consist of the following:
Module main. Accepts input of numbers and assigns them to an array. The array is traversed in order to find the highest number, lowest number, total and average of the numbers.
Module showStats. Displays the highest number, lowest number, total and average of the numbers.
Expected Output
The lowest number in the array is: 1
The highest number in the array is: 95
The total of the numbers in the array is: 811
The average of the numbers in the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!