Question: Ctrl Class Work Consider a problem is given to you to find which month of the year is colder between two given months. Let you

 Ctrl Class Work Consider a problem is given to you to

Ctrl Class Work Consider a problem is given to you to find which month of the year is colder between two given months. Let you have Ni, N2, ..., N12 are number of 12 months and T1, T2, ..., T12 are the average temperature. You need to ask user to input any two months' number (e.g., 1=January, 2=February, and so on). Then, use these numbers to find your answer. If any input is outside the range of 1.. 12, you need to terminate from the program. Otherwise, you need to keep repeating your program. 1. Use the above problem and write the algorithm discovery. [3 pts]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!