Question: 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
Get step-by-step solutions from verified subject matter experts
