Design a Tips class that calculates the gratuity on a restaurant meal.

Category: Engineering

This function needs to accept two arguments, the total bill amount and the tip rate. It should use this information to compute what the cost of the meal was before the tax was added. It should then apply the tip rate to just the meal cost portion of the bill to compute and return the tip amount. Demonstrate the class by creating a program with a single Tips object, then loops multiple times to allow the program user to retrieve the correct tip amount using various bill totals and desired tip rates. To Do:1. Upload your cpp file to the Project 6 Drop Box.2. Be sure to check the Rubrics before you submit your Project. Rubrics tell you exactly what must be included in each Project and how much each item is worth.3. Check the Calendar for the due date.ItemValueOutput is attractive with appropriate white space5 pointsTemplate code used in .cpp fileProgram commented appropriately5 pointsTips class defined properly with private variables and public functions10 pointsProgram executes without errors10 pointsTips constructors created properly with appropriate default amounts10 pointsTips class has taxRate as a private variable and computeTip as a public function15 pointsUser input validated for inappropriate values.15 pointsProgram loops allowing the user to enter multiple bill totals and tip rates10 pointsOutput displays the correct tip amount with the given user input15 pointsTotal

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Pay Someone To Write Essay