Question: Please write in java. Needs to accurately determine a bill for the family in the description. Children eat free and seniors and teens get a
Your spouse's cousin's nephew's dog's trainer's best friend owns a restaurant. That person is very bad at math and 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, I. 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 Wings Burger Chicken sandwich 5.95 Fries Pie Ice cream Soft drink Coffee .15 each 4.95 1.99 2.95 2.99 1.50 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 fath 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 Grading criteria variables named descriptively user friendly 1/0 20 20 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
