Exercises! Chapter 4!

As we're given the program, it is good that you added a chomp here. If we could change line 10 I would prefer to take the chomp out of the total subroutine as it shouldn't really do I/O.