Question: This assignment should be relatively easy. Write a program in any reasonably high-level language, that reads in numbers from the keyboard (standard input), one per

 This assignment should be relatively easy. Write a program in any

This assignment should be relatively easy. Write a program in any reasonably high-level language, that reads in numbers from the keyboard (standard input), one per line, until it detects that a 0 (zero not an oh') has been entered The 0 does not count as part of the number series. After all numbers have been entered print out the number of items entered, the sum, the minimum value entered, the maximum value entered, and the arithmetic mean (one on each line), in the order listed here

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 Databases Questions!