Goats Just Want to Have Jokes

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:

Start

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:

Output

Submit your solution to this site as usual, not to Moodle. The usual coding standards apply.

Where referenced