Design the logic for an application that outputs to a file


Problem Description
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 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 is valid; if any of these is not valid, continue to prompt the user until it is. The valid meal codes are shown in the table below.

Code Entrée Price Per
Person ($)
1 Roast beef 24.50
2 Salmon 19.00
3 Linguine 16.50
4 Chicken 18.00
5 Steak 23.00
6 Veal 21.50
7 Lobster 27.50
8 Gumbo 17.00
9 Clam Chowder 19.50
10 Sushi 22.50

Design the logic for an application that outputs to a file 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

needed Items:
Ten unique test records
Flowchart/Pseudocode Algorithm
Desk-check algorithm
C++ Source Code 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Design the logic for an application that outputs to a file
Reference No:- TGS0142460

Expected delivery within 24 Hours