Please copy the full contents of the console and paste it here showing what the user entered when the program is executed.

The variable: rainGauge needs to be assigned a value before it is used.
...