Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9118232

Have any Question?


Related Questions in Computer Engineering

Should you perform a log transformation on a categorical

Should you perform a log transformation on a categorical (nominal) variable, or can you only do that for continuous variables?

What are the critical issues we must think about while

What are the Critical Issues we must think about while designing a Lexical Scanner? The results of that development, e.g., discuss both process and product.

Inside the oncreate method fill in the code so that we set

Inside the onCreate method, fill in the code so that we set the layout and GUI defined in activity_main.xml? public void onCreate( Bundle savedInstanceState ){ super.onCreate(savedInstanceState); // Your code goes here }

A is the event that your friend is sick today and b is the

A is the event that your friend is sick today and B is the event that you pass this test. These events are independent and Not mutually exclusive. Calculate the probability that your friend is sick today OR you pass this ...

Suppose the information content of a packet is the ascii

Suppose the information content of a packet is the ASCII (8-bit code) representation of "OK" and an even parity scheme is being used. What would the value of the field containing the parity bits be for the case of a two- ...

Question why we still study computer graphics whats the

Question : Why we still study computer graphics ? Whats the benefits of this science ? can you give a practical examples that employs computer graphics ? What is the best book to learn computer graphics in details and cl ...

Please elaborate your understanding about how rfid and nfc

Please elaborate your understanding about how RFID and NFC work. What are the current security considerations and challenges?

Can someone please wirte a complete algorith in c language

Can someone please wirte a complete algorith in c language that works without any errors on Visual Studio 2015 Given a list of integers, write a C function, similar to the partition process in QuickSort, that will rearra ...

Question suppose that a web server has a link speed of

Question : Suppose that a web server has a link speed of 1Gbps. And suppose that each machine in a botnet has a link speed of 1Mbps a. How many botnet machines are needed to send data to the web server in order to fill t ...

Question develop a taxonomy of dsia document a taxonomy is

Question: Develop a "taxonomy" of DS/IA document. A taxonomy is a way of organizing something on a "group within group" basis. (Remember how the biological taxonomy is structured.) Initially, define data security and inf ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As