Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that does the following: 1. Reads 10 temperatures from the console (standard input). Each value represents the high temp for a given
Write a program that does the following:
1. Reads 10 temperatures from the console (standard input). Each value represents the high temp for a given day in a 10-day period.
2. Stores the temperatures in an array. You must use the same array for all the temperatures.
3. Finds and displays the highest recorded temperature.
4. Finds and displays the day when the highest temperature was recorded. If two or more days tie for the highest temperature, the program will report all the days with the highest 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