Question: PART 2 Modularize your program! Create at least 3 functions that will do the following: Using a loop and your temperature lists, find the number
PART Modularize your program! Create at least functions that will do the following: Using a loop and your temperature lists, find the number of days that had high temperatures above the average as well as the number of days below the average. Identify the day number or date with the largest difference between the high temperature and the average high temperature. In a readable format, output the actual and average temperatures. Create a relevant and useful function of your ownBe sure that your functions are passing and returning values properly! No points will be awarded if global variables are used. There should only be one copy of your lists within the entire program.Within Main:Create a menu for the user to select the function to run and then call the appropriate function. Allow the user to repeatedly select an option until they choose an option to quit.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
