Question: please write a program on netbeans java language Question 2 150 points]: Write a program that asks the user to input the number of grades

please write a program on netbeans java language please write a program on netbeans java language Question 2 150 points]:

Question 2 150 points]: Write a program that asks the user to input the number of grades he has, then enter the grades into an array of double. Then asks the user to enter the lower and upper limits. The program displays then how many grades are within these limits. If the user entered a lower limit bigger than the upper limit your program should display an error message (see Sample Run 2) Sample run 1: Enter the number of grades you have: 4 Enter 4 grades: 40 55 76 98 Enter lower and upper limits: 55 80 You have 2 grades between 55 and 80 Sample run 2 : Enter the number of grades you have: 3 Enter 3 grades: 55 70 98 Enter lower and upper limits: 70 50 Wrong input

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!