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

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

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!