Question: write a short program to do the following: (input data of your choice, you must use dialog boxes for all input) Read in the number
write a short program to do the following: (input data of your choice, you must use dialog boxes for all input) Read in the number students who are Freshman Read in the average tuition charged to Freshman students Read in the number students who are Sophomores Read in the average tuition charged to Sophomore students Read in the number students who are Juniors Read in the average tuition charged to Junior students Print all of the data that was read in Print the average tuition charged for students in these 3 years (hint: add the three averages and divide by 3) Print which year had the most students.
Please use system.out.println to print the data
Step by Step Solution
There are 3 Steps involved in it
Here is a Java program that reads input data using dialog boxes and performs the specified calculations import javaxswingJOptionPane public class Tuit... View full answer
Get step-by-step solutions from verified subject matter experts
