Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This program prompts the user for the price of the prix fixe meal ordered. It then prompts the user for the number of prix fixe
This program prompts the user for the price of the prix fixe meal ordered. It then prompts the user for the number of prix fixe meals ordered by the customer(s). The program calculates the total cost of the meal(s), the sales tax, the tip, and the total amount due. The program then prints in receipt form the individual price of one prix fixe meal, the number of prix fixe meals ordered, the total for all prix fixe meals ordered, the sales tax, the tip and total amount due. Sample layout of a receipt is shown below. Input (keyboard): prix fixe meal price (double) number of guests (integer) Constants: Sample Values: SALES TAX RATE = .0825 (double) TIP PERCENTAGE = .15 (double) Output (console): Sample Layout: Betty Boop C.S.1428.25? // '?' represents student's lecture section # Lab Section: L? // '?' represents student's lab section # --/--/-- // dashes represent due date, month/day/yearPrix Fixe Price: $ 50.00 x 8 Total for 8 meals: 400.00 Sales Tax @8.25% 33.00 15% Tip 64.95 Total Due: $ 497.95
Written in C++, necessary program is Codeblocks. ======================================================================= */
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started