Design logic for an application that outputs each event


Problem

The Perfect Party Catering Company hosts events for clients. Create an application that accepts an event number, the event host's last name, and numeric month, day, and year values representing the event date. The application should also accept the number of guests who will attend the event and a numeric meal code that represents the entrée the event hosts will serve. As each client's data is entered, verify that the month, day, year, and meal code are valid; if any of these is not valid, continue to prompt the user until it is. The valid meal codes are shown in the accompanying table

Code

Entrée

Price per Person ($)

I

Roast beef

24.50

2

Salmon

19.00

3

Linguine

16.50

4

Chicken

18.00

Design the logic for an application that outputs each event number, host name, validated date, meal code, entrée name, number of guests, gross total price for the party, and price for the party after discount. The gross total price for the party is the meal price per guest times the number of guests. The final price includes a discount based on the accompanying table.

Number of Guests

Discount ($)

1-25

0

26-50

75

51-100

125

101-250

200

251 and over

300

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Design logic for an application that outputs each event
Reference No:- TGS02647066

Expected delivery within 24 Hours