Rainfall program

Here is a good example program to solve the rainfall program

It is good because:

  1. It has good comments
  2. It has good indentation
  3. It has good, meaningful variable names
  4. The variables are the right data types
  5. It is easy to read and well-organized
  6. It works!
rainfall code