Question: 20 Points Description: In this program you are going to design a program to calculate the cost to cater a dinner. You will also develop

 20 Points Description: In this program you are going to design

a program to calculate the cost to cater a dinner. You will

also develop a program flowchart. The user will enter the number of

20 Points Description: In this program you are going to design a program to calculate the cost to cater a dinner. You will also develop a program flowchart. The user will enter the number of guests and the length of time (in minutes) for dinner. Requirements: Output must be labeled and easy to read as shown in the sample below. Naming convention should be followed for all variables Program must be self-documenting with comments and meaning va . More Requirements: Use the cout statement to prompt the customer for the name of the function. . Prompt the customer for his/her full name. Use the getline function to input the name of the event and the customer's name. Prompt the customer to enter the length of time (in minutes) for the dinner. The minutes will be used to determine how many hours and minutes you will pay the server(s) . Prompt the customer to enter the number of guests attending the dinner. There will be one server assigned to every 20 guests. Servers make $18.50 per hour and $.50 per minute for every minute over an hour. For example, 123 minutes will be 2 hours and 3 minutes. Use modulus to determine the number minutes. Both cost per minute and per hour will be constants. When calculating the number of servers use the function ceil to round up. The code for ceil is roundedUpNumber . ceil(numberOfservers). .Each dinner will cost $26.70. Make cost per dinner a constant. Calculate the total cost for the event and the average cost per person. The caterer requires a 25% deposit on the event. All decimals must line up in the output. .Flowchart the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!