Answered step by step
Verified Expert Solution
Link Copied!

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/year  Prix 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

How to find if any no. is divisble by 4 or not ?

Answered: 1 week ago

Question

Explain the Pascals Law ?

Answered: 1 week ago

Question

What are the objectives of performance appraisal ?

Answered: 1 week ago