Question: Write a C program to read 60 Integer numbers representing the temperature of 60 days. Your program should find and print the longest interval of
Write a C program to read 60 Integer numbers representing the temperature of 60 days. Your program should find and print the longest interval of hot temperature, interval must be successive days (Hot temperature is the temperature that >=30). For example, if the input is as the following: 26 27 30 31 30 31 29 30 31 32 29....... The longest hot interval so far is 4 days
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
