Problem:
Question- 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.
Requirements
1) Create 4 methods – GetTotal, CalculateTaxDue, CalculateTip and DisplayTotals.
2) Using proper naming conventions for constants (UPPER_CASE), variables (camelCase) and
methods (PascalCase).
3) Output should be formatted properly.
4) Program should compile and run without errors.
5) Include class diagram.
Please show the code to determine the tip amount in restaurant.