Question: 11. Write a program named Weather Report that uses arrays: a. Compute the average temperature for that week. b. The number of days for


11. Write a program named Weather Report that uses arrays: a. Compute

11. Write a program named Weather Report that uses arrays: a. Compute the average temperature for that week. b. The number of days for which the temperature was taken. c. How many days temperature was above average (should be computed not just printed...) Please use these temperatures: 100 56 78 87 45 67 89 An example of an output of your program would be: The temperature was taken across 7 days Day 1's high temp: 100 Day 2's high temp: 56 Day 3's high temp: 78 Day 4's high temp: 87 Day 5's high temp: 45 Day 6's high temp: 67 Day 7's high temp: 89 Average temp = 74.57 4 days were above average.

Step by Step Solution

3.31 Rating (142 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Java program named WeatherReport that computes the average temperature for a week the number ... View full answer

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 Programming Questions!