Question: Write a program (Restaurant.java) that computes the tax and tip on a restaurant bill. The program should ask the user to enter the name of

 Write a program (Restaurant.java) that computes the tax and tip on

Write a program (Restaurant.java) that computes the tax and tip on a restaurant bill. The program should ask the user to enter the name of the waiter and the charge for the meal. The tax should be 6.75 percent of the meal charge. The tip should be 15 percent of the total after adding the tax. Display the waiter name, meal charge, tax amount, tip amount, and total bill on the screen. Input will be from the keyboard. Output should look as follows if the waiter is Jim and the meal charge is $36. Use JOptionPane for output. See Section 26.3

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!