Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program to process series of daily temperatures. The program should count and print until user inputs -99 to stop the program: the number
Write a program to process series of daily temperatures. The program should count and print until user inputs -99 to stop the program:
the number of hot days (85 or higher),
the number of pleasant days (60-84), and
the number of cold days (less than 60).
It should also display the category of each temperature. At the end of the run, display the average , highest and lowest temperature.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started