subject

Your spouse's cousin's nephew's dog's trainer's best friend owns a restaurant. That person is very bad at math and recently discovered that most customers have been significantly undercharged for meals. You have been approached to create a computer program that will accurately calculate bills for each customer. 1. Kids, under 5, eat free.
2. Teens and seniors get a 25% discount.
Also,
1. Food and beverage is taxed at 5%.
2. No tax for anything a senior or teen orders and eats.
Every person who eats at this restaurant orders exactly three items. Never greater, never fewer. The menu is limited:
Menu Item Price
Soup 2.50
Wings .15 each
Burger 4.95
Chicken
sandwich 5.95
Fries 1.99
Pie 2.95
Ice cream 2.99
Soft drink 1.50
Coffee 1.00
Write a program that will accurately determine a bill.
Programs must be tested. In order to test this program, use the following scenario.
A family stops at the restaurant for lunch. The family is composed of a middle aged mother and father named Bill and Nancy. They have a 2-year old child named Jesse. They are traveling with Nancy's elderly grandmother, Sarah.
Everybody decided to order a burger. Nancy and Jesse order a soft drink. Nancy and Sarah order soup. Bill orders 5 wings. Bill and Sarah order coffee. Jesse orders ice cream.
Run your program one time for each person and determine the grand total this family would owe on their bill.
To earn full credit for this assignment, you MUST create a table for your test cases.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
When you mouse over and click to add a search term this(these) boolean operator(s) is(are) not implied. (select all that apply)?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Selling a product through an electronic medium is
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
You know the right answer?
Your spouse's cousin's nephew's dog's trainer's best friend owns a restaurant. That person is very b...
Questions
question
Mathematics, 21.09.2020 14:01
question
Mathematics, 21.09.2020 14:01
Questions on the website: 13722363