Question
COSC 1336 - Programming Fundamentals I Program 9 - Functions, Lists, and Strings Please write a program that read the total rainfall for each of
COSC 1336 - Programming Fundamentals I
Program 9 - Functions, Lists, and Strings
Please write a program that read the total rainfall for each of the 12 months into a list. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts. The input data is available in Program9.txt.
No input, processing, or output should happen in the main function. All work should be delegated to other functions. The program should have at least 5 functions (main and developerInfo included). Include the recommended minimum documentation for each function. See the program one template for more details. Do not use any global variables. Run your program with the input file, Program9.txt.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started