Online Compiler

If you do not have your programming environment set up yet, you can use an online compiler/IDE, such as rextester

Configuration:

The following demonstrates setting rextester up for the rainfall example: