Question
Program using java write a program helping students estimate their college tuition. the program will first ask for the student's name and store it. then
Program using java
write a program helping students estimate their college tuition. the program will first ask for the student's name and store it. then prompts the student is in-state or out-of-state (resident or non-resident), updating the total accordingly. lastly, prompt the user to see if they have received any sort of discount. if any debut this discount from the total and print the tuition. after this, you must also add 2% education tax to the total and print and final tuition as well. Include the students name when displaying. if the student tuition is less than $16000, the the program must prints the tuition is the cheapest it can possibly be.
the resident tuition is $12500 and Non-resident tuition is $16000
the on-campus housing is $7500 and off campus is $0
hint- to get the string user input use the following
String name = input.next();
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started