Challenge
No
Molly runs the comedy club, Goats Just Want to Have Jokes. For every comedian's set, she counts the number of hecklers, and the highest laugh volume, in dB. Write a program to work out some statistics for Molly.
Download the start worksheet. It looks like this:
Valid heckler and volume input must be non-negative numbers.
Write the program so it can handle different numbers of rows, without anybody changing the code.
Output the stats, as shown in this output:
Submit your solution to this site as usual, not to Moodle. The usual coding standards apply.
If you were logged in as a student, you could submit a solution to this exercise.
Where referenced