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

1 Expert Approved Answer
Step: 1 Unlock

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

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 Programming Questions!