Question: java netbeans (pls don't write any extra notes in the program ) thanks so much! Problem #2: (20 pts] Write a program that prompts the

java netbeans (pls don't write any extra notes in the program ) thanks so much! java netbeans (pls don't write any extra notes in the program )

Problem #2: (20 pts] Write a program that prompts the user to enter the number of exams he/she did in a course. To pass the course, the grade of each exam should be greater or equal to 40, and the average of all grades should be greater or equal to 60. Sample run 1: Enter the number of exams: 5 Enter the grade of exam 1: BO Enter the grade of exam 2: 26 Your grade in exam 2 is less than 40. You fail! Sample run 2: Enter the number of exams: 4 Enter the grade of exam 1: 80 Enter the grade of exam 2: 50 Enter the grade of exam 3: 48 Enter the grade of exam 4: 96 Your Average 10 69.5. You succeed: Sample run 3: Enter the Este 50.5 intes the goal exim 243 Enter the grace of exam 45 Your average foto tan

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!