Question: Write a program in JAVA to help the user calculate different tip amounts for a restaurant server based on their food bill. The program should

Write a program in JAVA to help the user calculate different tip amounts for a restaurant server based on their food bill. The program should ask the user to input the cost of the bill before tax and tip through the console using the Scanner class. The program should use this bill amount to calculate a 15% tip, 18% tip and 20% tip. Name your source code file (and class) FirstnameLastnameProgram1.java substituting your actual name in place of FirstnameLastname. The program output to the console should be as follows if the user entered 25 for the bill: Tip Percentage Tip Amount 15% 3.75 18% 4.5 20% 5

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!