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 06:30
Requirement types discussed during software development include functional and color scheme nonfunctional and code style constraint and nonfunctional fashionable and functional.
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
How do you take a green screen out of the video while editing?
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
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
Social Studies, 16.03.2020 16:18
question
Mathematics, 16.03.2020 16:18
Questions on the website: 13722363