#Template for Program 4
#Note: This program does not require the use modules (Ch 3)
#Remember to indent code that is within the for loop (4 spaces or 1 tab)
#print the progam title and a blank line
#get input for number of months and store as integer
#for loop
#ask user to input rainfall for a month and store as float
#add the rainfall to the total rainfall
#calculate the average rainfall and store in a variable
#print the total rainfall
#print the average rainfall
Edward_6 0 Newbie Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Edward_6 0 Newbie Poster
Edward_6 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.