Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Java to write it. Thank you. The chart below lists the 2018-2019 tuition rates for George Mason University. You must write a program that

Use Java to write it. Thank you.

The chart below lists the 2018-2019 tuition rates for George Mason University. You must write a program that prompts the user for his or her name. Then, you must ask the user for which type of student they are based on the chart below. Based on the type of student, you will determine the how much the Tuition will be and how much each type of fee (Education Resource Fee, or Graduate New Student Fee.) will be for the student. You must match the menu given. Only Law students will be prompted for Day or Evening status. After determining the total tuition for the student, you must add that to the total fees to obtain the Total Tuition and Fees. Then you will display the the students name, tuition, graduate new student fee, education resource fee, number of credits, and the total tuition and fees.

The output must show 2 decimal places for any monetary amount, but the number of credits should show 0 decimal places.

Here is a sample of how the program should run (test data for 2 users is shown in italics. We will go over test data for more users in class). A grading rubric will be distributed by Monday, February 11. Remember, the code must be debugged or the maximum grade will be 32.5 points of 65 possible points thus 50%.

Welcome to the GMU Tuition and Fees Calculator.

Please enter your name:

Mickey Mouse

Please enter the type of student that you are from the choices below:

IU for In State Undergraduate ($12,462)

IG for In State Graduate ($11,354)

IL for Law (Day - $25,354, Evening - $20,660)

OU for Out of State Undergraduate ($35,922)

OG for Out of State Graduate ($26,794)

OL for Law (Day - $40,740, Evening - $33,298)

OL

Please enter the number of credits that you are taking:

9

Please enter if you are a Day student or Evening student:

Day

Tuition and fees report for Mickey Mouse

Tuition: 40,740.00

Graduate New Student Fee: 60.00

Education Resource Fee: 100.00

Number of Credits: 9

Total Tuition and Fees: 40,900.00

Boldly NOVA becomes PATRIOTS BRAVE & BOLD

Welcome to the GMU Tuition and Fees Calculator.

Please enter your name:

Minnie Mouse

Please enter the type of student that you are from the choices below:

IU for In State Undergraduate ($12,462)

IG for In State Graduate ($11,354)

IL for Law (Day - $25,354, Evening - $20,660)

OU for Out of State Undergraduate ($35,922)

OG for Out of State Graduate ($26,794)

OL for Law (Day - $40,740, Evening - $33,298)

IU

Please enter the number of credits that you are taking:

12

Tuition and fees report for Minnie Mouse

Tuition: 12,462.00

Graduate New Student Fee: 0.00

Education Resource Fee: 100.00

Number of Credits: 12

Total Tuition and Fees: 12,562.00

Boldly NOVA becomes PATRIOTS BRAVE & BOLD

Welcome to the GMU Tuition and Fees Calculator.

Please enter your name:

Donald Duck

Please enter the type of student that you are from the choices below:

IU for In State Undergraduate ($12,462)

IG for In State Graduate ($11,354)

IL for Law (Day - $25,354, Evening - $20,660)

OU for Out of State Undergraduate ($35,922)

OG for Out of State Graduate ($26,794)

OL for Law (Day - $40,740, Evening - $33,298)

IG

Please enter the number of credits that you are taking:

7

Tuition and fees report for Donald Duck

Tuition: 11,354.00

Graduate New Student Fee: 60.00

Education Resource Fee: 100.00

Number of Credits: 7

Total Tuition and Fees: 11,514.00

Boldly NOVA becomes PATRIOTS BRAVE & BOLD

Welcome to the GMU Tuition and Fees Calculator.

Please enter your name:

Daisy Duck

Please enter the type of student that you are from the choices below:

IU for In State Undergraduate ($12,462)

IG for In State Graduate ($11,354)

IL for Law (Day - $25,354, Evening - $20,660)

OU for Out of State Undergraduate ($35,922)

OG for Out of State Graduate ($26,794)

OL for Law (Day - $40,740, Evening - $33,298)

IL

Please enter the number of credits that you are taking:

6

Please enter if you are a Day student or Evening student:

Evening

Tuition and fees report for Daisy Duck

Tuition: 20,660.00

Graduate New Student Fee: 60.00

Education Resource Fee: 60.00

Number of Credits: 6

Total Tuition and Fees: 20,780.00

Boldly NOVA becomes PATRIOTS BRAVE & BOLD

Welcome to the GMU Tuition and Fees Calculator.

Please enter your name:

Daffy Duck

Please enter the type of student that you are from the choices below:

IU for In State Undergraduate ($12,462)

IG for In State Graduate ($11,354)

IL for Law (Day - $25,354, Evening - $20,660)

OU for Out of State Undergraduate ($35,922)

OG for Out of State Graduate ($26,794)

OL for Law (Day - $40,740, Evening - $33,298)

OU

Please enter the number of credits that you are taking:

9

Tuition and fees report for Daffy Duck

Tuition: 35,922.00

Graduate New Student Fee: 0.00

Education Resource Fee: 100.00

Number of Credits: 6

Total Tuition and Fees: 36,022.00

Boldly NOVA becomes PATRIOTS BRAVE & BOLD

Welcome to the GMU Tuition and Fees Calculator.

Please enter your name:

Disco Duck

Please enter the type of student that you are from the choices below:

IU for In State Undergraduate ($12,462)

IG for In State Graduate ($11,354)

IL for Law (Day - $25,354, Evening - $20,660)

OU for Out of State Undergraduate ($35,922)

OG for Out of State Graduate ($26,794)

OL for Law (Day - $40,740, Evening - $33,298)

OG

Please enter the number of credits that you are taking:

10

Tuition and fees report for Disco Duck

Tuition: 26,794.00

Graduate New Student Fee: 60.00

Education Resource Fee: 100.00

Number of Credits: 10

Total Tuition and Fees: 26,954.00

Boldly NOVA becomes PATRIOTS BRAVE & BOLD

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions