Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java 8: console A small college that offers distance-learning courses would like an application that calculates total tuition and fees for their students. Users will

Java 8: console

A small college that offers distance-learning courses would like an application that calculates total tuition and fees for their students. Users will input the number of hours; the program will then calculate the total cost. For full-time students taking greater than 15 hours of courses, the cost per credit hour is $45.00. Part-time students taking 15 hours or less will pay $55.00 per hour. Fees will equal 8 percent of tuition.

Code the following methods:

hours = getHours(); include exception handling for non-numeric input as well as

rate = getRate(hours);

tuition = calcTuition(hours, rate);

fees = calcFees(tuition);

displayTotal(tuition, fees);

image text in transcribed

XS Cwindowslsystem32\cmd.exe Tuition calculator Enter the number of credit hours: ddd ErPor enter an integer greater than 0 Enter the number of credit hours-5 Error. ente an integer greater than Enter the number of credit hours 16 The tuition cost of $720.00 plus fees of $57.60 equals $777.60 Press any key to continue

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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Q4 What is a database application?

Answered: 1 week ago