Written in Java anduse an array for the menu: Your spouse’s cousin’s nephew’s dog’strainer’s best friend owns a restaurant. That person is very bad atmath and recently discovered that most customers have beensignificantly undercharged for meals.
You have beenapproached to create a computer program that will accuratelycalculate bills for each customer.
- Kids, under 5, eat free.
- Teens and seniors get a 25% discount.
Also,
- Food and beverage is taxed at 5%.
- No tax for anything a senior or teen orders and eats.
Every person who eatsat this restaurant orders exactly three items. Never greater, neverfewer.
The menu islimited:
Menu Item
Price
Soup
2.50
Wings
.15
OR
OR