This assignment should be submitted on Canvas. I want the source code files of the program,
submitted as a .txt file. You should know what source code means. If not, you should
consider taking another introductory programming class before this one.
It should be formatted neatly (use good indentation, variable naming, and spacing, use the
Program Grading Policies and Coding Standards as guidelines).
Every relevant piece of info should be in the comments. If you don't include your name, then
you didn't comment it appropriately and you will lose points.
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. Output should look something like:
JLevy Stats 38 ->$./stats
12.54
122334567
89877654
23.456
1.234
-100
65
0
# items:
7
Sum:
212212223.230000
Maximum:
122334567.000000
Minimum:
-100.000000
Mean:
30316031.890000