Question
Solve the problem of finding the average value, the highest value, and the lowest value from a series of user entered integer numbers. The user
Solve the problem of finding the average value, the highest value, and the lowest value from a series of user entered integer numbers. The user will enter a series of integer numbers, one at a time. Acceptable numbers will range from 0 to positive 2 billion. If the user enters a non-integer value, or a value greater than 2 billion, the program will ignore it, and display the number of ignored entry attempts. The user will stop the entry of numbers by entering in a negative value such as -3.
Example of the behavior of the program:
Please enter an integer value. 5
Please enter an integer value. 15
Please enter an integer value. 3
Please enter an integer value. a
Please enter an integer value. 20
Please enter an integer value. 5
Please enter an integer value. -1
The highest value is 20
The lowest value is 3
The average value is 9
1 entry was ignored
Please do the following:
- Create an Input-Process-Output chart. (Use a table in a Word document for this.)
- Write an algorithm that solves this problem (in the same Word document).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started