Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please need help asap! Requirements are important in this assignment. Tuition Calculation You are assigned to write a program that calculates tuition for students. The
please need help asap! Requirements are important in this assignment.
Tuition Calculation You are assigned to write a program that calculates tuition for students. The program will ask user to enter number of credit hours a student enrolled (use loop to validate the input 0) and enter if the student is resident or non-resident. Then the program will calculate the tuition on CUNY tuition chart, and print out the results. After complete one student's tuition, the program should as user to choose to continue for next student or not. If user chooses to continue, the program will repeat the process for next student; if user chooses not to, the program will end. based Requirements Your program should be well documented: brief description of program and comments at major steps. Your program must have the following methods: . boolean isValid( int credit) - return true if the credit is greater than 0, otherwise return fasle double instate tuition in credit)-will return tuition based on the number of credit for in state students o o o double outstate tuition int credit) - return tuition based on number of credit for out of state students . Check CUNY website to find out tuition policy http://www.citytech.cuny.edu/admissions/generalinfo/tuition.shtml You may only consider tution based on number of credit and resident status, ignore other fees. Test your program with different inputsStep 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