Question: On paper, write down four test cases for a program that c should consider students who are taking 12 or fewer hours, and the othet

On paper, write down four test cases for a program that c should consider students who are taking 12 or fewer hours, and the othet two who are taking over 12 hours. above, Each computes student tuition. Two of these cases should consider students test case should include the total number of hours taken by the student, and the number of engineering/science hours. Based on that information, compute the tuition according to the breakdowmn given in the examples. 2. (8 pts) Within your Lab3 folder, create a new file named Tuition Calculator.java. Write a program that gets two user inputs: 1) his/her total number of credit hours, and 2) the number of those hours f engineering/science charges, broken down by category like in the examples above. Hint: Use an if-else statement to consider two separate cases: students who are taking 12 hours or below, and students who are taking over 12 hours. courses. The program should then calculate and display the appropriate tuition Verify that your program works correctly by using the test cases that you wrote previously. Below is an example of what your program might look like when you run it (the underlined parts indicate what you type in as the program is running): How many total hours are you taking? 1 How many of those hours are tron anginoering/acience classos? 4 Summary of Charges: ($400 per credit hour up to 12)(12 Credit hours)$4800 ($60 per crodit hour beyond 12) (5 credit hour (a)) ($25 per eng./sci. credit hour) (14 credit hour (s))350 OTAL 300 $5450 Make sure that your Lab3 folder has Tuition.java inside. Zip the Lab3 folder, and upload that zip file to the proper location on eCourseware. Ask the lab TA if you're not sure how to create a zip file. Submission Turn in your test cases to the lab TA on paper
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
