Question: ***** please create new program with step by step and please a while loop for this has to be in the program. And explain step
***** please create new program with step by step and please a while loop for this has to be in the program. And explain step by step. Please do not copy and paste the answer they have on the web. I want to learn the steps using while loop*****
////////::::::::::::: Instructions: Use a while loop and loop following program for unknown numbers of customers.
The Casewell Catering and Convention Service have asked you to write a computer program to produce customers bill. The program should read in the following data.
- The number of adults to be served.
- The number of children to be served.
- The cost per adults meal.
- The cost per childs meal (60% of the cost of adults meal).
- The cost for dessert (same for adults and children).
- The room fee.
- A percentage for tip and tax (not applicable to room fee).
- Any deposit should be deducted from the room fee.
You program will produce following output:
Casewell Catering and Convention Service
Final Bill
Number of Adults: 23
Number of Children: 7
Cost per adult without dessert: $ 12.75
Cost per child without dessert: $ 7.65
Cost per dessert: $ 1.00
Room fee: $ 45.00
Tip and tax rate: 0.18
Total cost for adult meals: $ 239.25
Total cost for child meals: $ 53.55
Total cost for dessert: $ 30.00
Total food cost: $ 376.80
Plus tips and tax: $ 67.82
Plus room fee: $ 45.00
Less deposit: $ 50.00
Balance due: $ 439.62
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
