Question: public class Message public static void main(String ags) QptionPane.shoxMessageDialog(null, My first GUI program.) import javaxswing.* public class Vote public static void main(Strigags) int age; String

public class Message public static void main(String ags) QptionPane.shoxMessageDialog(null, "My first GUI program.") import javaxswing.* public class Vote public static void main(Strigags) int age; String response; response JQptionPane.shewlnputDialeg("How old are you?") age Integer.parselnt(response) if (age>= 18) System.out println("You can vote."); else Sxstem.eut.println("Sorry, you can't vote."); Using the above code as a guide, write a program that will . Use input boxes to prompt the user to enter 10 test grades. Store the ten test grades in an ArrayList. Determine the highest and lowest grades entered Calculate the average of the grades. Display the highest, lowest, and average grades in a message box. Make sure you write a complete Java program. You may use additional variables as necessary. Add judicious comments to document your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
