Question: Write a program in a class NumberAboveAverage that counts the number of days that the temperature is above average. Read ten temperatures from the keyboard
Write a program in a class NumberAboveAverage that counts the number of 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.
Step by Step Solution
3.37 Rating (169 Votes )
There are 3 Steps involved in it
public class NumberAboveAverage param args the command line arguments public stat... View full answer
Get step-by-step solutions from verified subject matter experts
