Question: c++ i dont know what i did wrong 4.15 LAB: Varied amount of input data Statistics are often calculated with varying arnounts of input data.

4.15 LAB: Varied amount of input data Statistics are often calculated with varying arnounts of input data. White a program that takes arf number of nor-negative integers as input. and outputs the max and average. A aegative integer ends the input and is not included in the statistics. Assume the input contains at caast one non-megative inteper Output each fioating-point value with two digits after the decimal point, which can be achieved by executing cout \&c fixed (2); coce before all other cout statements. Ex. When the input is? 152001 the output is: 20. 9.50 4151 LAB varied a mount of ingut oati ...Program fintohed with exit oode 0 Presu farren to exit consola
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
