Question: In C#, Write a program that can be used to determine the tip amount that should be added to a restaurant charge. Allow the user

In C#, Write a program that can be used to determine the tip amount that should be added to a restaurant charge. Allow the user to input the total, before taxes and the tip percentage (15% or 20%). Produce output showing the calculated values including the total amount due for both the 15% and the 20% tips. Tax of 9% should be added to the bill before the tip is determined. Write appropriate methods for your solution.

1) Create Only 4 methods GetTotal, CalculateTaxDue, CalculateTip, and Display Totals.

2) Using proper naming conventions for constants (UPPER_CASE), variables (camelCase) and

methods (PascalCase).

3) Output should be formatted properly.

4) Visual Studio should display output:

Total Before Taxes and Tip: $50.00

Tax(9.00%): $4.50

Tip(15.00%): $7.50

Total including taxes and with 15% tip: $62.00

Tip(20.00%): $10.00

Total including taces and 20% tip: $64.50

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!