Question: JAVA CODING In this exercise, you will be writing an application that will calculate the tip for a restaurant check. The user will enter the
JAVA CODING

In this exercise, you will be writing an application that will calculate the tip for a restaurant check. The user will enter the amount of the check and the percentage of tip they wish to pay. The percentage (tip amount) should be input as an integer between 0 and 100 The tip is then determined by the formula: tipAmount = check * percentage / 100 where check is the amount of the check, percentage is the tip percentage, and tipAmount is the calculated tip amount. Additionally, if the user enters less than a 15% tip you should output a message warning telling them it is below the standards. If the user enters greater than a 25% tip output a message telling them they are being generous. Run your program three times with the following inputs: Run 1: check: 10.50 tip%: 10 Run 2: check: 25.75 tip%: 18 Run 3: check: 17.77 tip %: 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
