Question: Write in JAVA CODE Program Description A vocal coach charges new clients for voice instruction services based on duration of sessions in hours. The coach

Write in JAVA CODE Program Description
A vocal coach charges new clients for voice instruction services based on duration of sessions in hours. The coach charges an hourly rate of $76.00 per hour for Individual Sessions and $123.00 per hour for Group Sessions. Write a program that determines a bill for a vocal coaching session. The program must:
Ask the user to enter the type of session (individual or group) service to determine the hourly rate of the session.
If an invalid session type is entered, the rate for an individual session will be applied
Ask the user to enter the number of minutes of the duration of the session. This vocal coach requires users to book a minimum of 45 minutes for a session. The maximum time that can be booked for a session is 200 minutes.
If an invalid number of minutes is entered, a standard session length of 50 minutes will be booked automatically.
The program must calculate the duration of the session in hours. This vocal coach charges 1 hour for every 45 minutes of duration of a session.
This vocal coach is also offering a special 10% spring break discount when users enter the following discount code: S1NGNSPR!NG10%. Ask the user to enter the discount code.
If an invalid discount code is entered, no discount will be applied.
The program must calculate the charge for the voice instruction session. The amount due is the product of the total hours of the session and the hourly rate for a session depending on the type of vocal session. Apply the discount code as necessary to the charge.
The program must display the type of session, the duration of the session in hours, the hourly rate for the session, the subtotal (session charge before discount), the discounted amount (if applicable), and the final amount due for the session. Write in Java code
 Write in JAVA CODE Program Description A vocal coach charges new

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!