Question: java only Lab 9 lass NumberAboveAverage that counts the number of Write a program in a c days that the temperature is above average. Read

java only Lab 9 lass NumberAboveAverage that counts the number of Writejava only

Lab 9 lass NumberAboveAverage that counts the number of Write a program in a c days that the temperature is above average. Read ten temperatures from the keyboard and place them in an array. Compute the average temperature and then count and display the number of days on which the temperature was above average. Your interac tion with this program might look as follows: ava NumberAboveAverage Please enter ten temperature 30 40.5 32.3 50 60 70 values 40 50 63.92 The average temperature is: 49.172000000000004 Day 3 had temperature 50.0 which vas above average Day 4 had temperature 60.0 which vas above average Day 5 had temperature 70.0 which vas above average Day 6 had temperature 55.0 which vas above average Day 8 had temperature 50.0 which vas above average Day 9 had temperature 63.92 which vas above average The number of days with a temperature above average is: 6 Please submit both the *java file and the *class file. No credit will be given if the .class file is not submitted

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!