Question: Create a Java application with the following specifications: Add a JOptionPane.showInputDialog to allow the user to enter the number of students to be graded. Validate
Create a Java application with the following specifications:
Add a JOptionPane.showInputDialog to allow the user to enter the number of students to be graded. Validate to make sure the number entered does not exceed a maximum of 25.
In the main method, add new code that will create an int array to store grades instead. Add a new String array to store student names. Initialize the arrays you created with the appropriate size from the input dialog, but do not exceed 25.
add a JOptionPane.showInputDialog that will allow entry of student names. Only display the dialogs for as many times as the number of students entered.
Overload the 4 existing methods: average(...), max(...), min(..) and showOutput(...).
The new overloaded methods should now take arrays as a parameter, where applicable. Inside the overloaded methods, the logic should now use the array(s) that are passed in.
The overloaded method showOutput(...) should take the proper parameters and display text similar to this:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
