Question: USING java language need the solve within 1 hour please Question 2 (50 pts) Write a Java program that prompts the user to enter the
USING java language need the solve within 1 hour please
Question 2 (50 pts) Write a Java program that prompts the user to enter the size of an integer array that represents the grades of students. A grade must be between 0 and 100. Then prompts the user to enter the grades. The program finds the average of the grades and counts the number of grades greater than or equal to the average. Sample run of the program Enter the size of the array: 4 Enter the 4 elements of the array: Enter an integer: 60 Enter an integer: 30 Enter an integer: 300 Invalid value. Enter an integer between 0 and 100: 40 Enter an integer: 70 The average is 50. There are 2 values greater than or equal to 50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
