Question: Write a Java program that computes the tax and tip on a restaurant bill for a patron. The tax rate in Costa Mesa is currently

Write a Java program that computes the tax and tip on a restaurant bill for a patron. The tax rate in Costa Mesa is currently 8.00%. Please ask the user for the amount of the restaurant bill, then ask the user for the percent to tip.

After reading in both the bill amount and the tip percentage, please calculate the total taxes, tip amount and total amount to pay (bill amount + tax + tip). Display this amount to the console.

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!