I have an assignment where I have to write a program that uses nested loops to collect datat and calculate the average rainfall over a period of years. The program should first input the number of years. The outer loop will iterate once for each year. the inner loop will iterate twelve times, once for each month. Each iteration of the inner loop will input the inches of rainfall for that month.
My loops are pretty good to start with, but I just cant get the inches of rainfall to be present on output.
Can someone please point me in the right direction?