Question: CSCI 1320: Introduction to C Programming Class Work #1, Section-1 Consider a problem is given to you to find which month of the year is
CSCI 1320: Introduction to C Programming Class Work #1, Section-1 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 Ti, 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
Get step-by-step solutions from verified subject matter experts
