logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

You are organizing a banquet for you and your friends.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

You are organizing a banquet for you and your friends. You want to know which choice of food and beverage for each guest so you can plan the banquet. For each guest you will need to gather some information about their food/beverage preferences to determine what to serve for them. There are 8 guests in total. Finally, you want to output the total cost for the food and beverage and the average cost per guest. You will create a C++ program and a flowchart.

 

The program will prompt for the following information about each guest

name,

if they are vegetarian

If not, if they eat red meat

if they drink alcoholic beverage

if so, if they drink red wine

 

The program will provide process the following information

 

Which entrée to serve based on their food preferences

FOOD ITEMS COST PREFERENCE

Roasted Prime Rib $23.50 not Vegetarian (eats red meat)

Rotisserie Chicken $19.75 not Vegetarian (does not eat red meat)

Garden Pasta $13.25 Vegetarian

 

Which beverage to serve based on their drink preferences

FOOD ITEMS COST PREFERENCE

Red Wine $6.50 Alcoholic beverage, red wine

White Wine $6.00 Alcoholic beverage, white wine

Ice Tea $2.50 Non alcoholic beverage

 

Turn in as a single PDF file (IN THIS ORDER)

1 — Output (cut and pasted into a txt file in eclipse)

2 — Main.cpp - Source Code (PROPERLY DOCUMENTED) 3 — Flowchart for documenting your algorithm

 

Make sure it conforms to the style detailed in the lecture notes (including line numbers, comments and printed out directly from main.cpp)

 

 

 

Screen INPUT/OUTPUT - should be formatted as follows – (Class heading should be also displayed)

 

Your Class Header

 

Welcome to the Banquet Planner! Please input each guest’s information. Guest #1:

What is your guest’s name? Austin Vaday

Vegetarian (Y/N)? N

Does he/she like red meat (Y/N)? Y

Alcoholic beverage (Y/N)? Y

Does he/she like red wine (Y/N)? Y

 

Austin Vaday will be having Roasted Prime Rib with Red Wine for dinner!

 

Guest #2:

What is your guest’s name? Andrew Daniels

Vegetarian (Y/N)? Y

Alcoholic beverage (Y/N)? Y

Does he/she like red wine (Y/N)? N

 

Andrew Daniels will be having Garden Pasta with White Wine for dinner!

 

Guest #3:

What is your guest’s name? Amanda Kissenhugg

Vegetarian (Y/N)? N

Does he/she like red meat (Y/N)? N

Alcoholic beverage (Y/N)? N

 

Amanda Kissenhugg will be having Rotisserie Chicken with Ice Tea for dinner!

 

Guest #4:

What is your guest’s name? Erik Karlsson

Vegetarian (Y/N)? N

Does he/she like red meat (Y/N)? Y

Alcoholic beverage (Y/N)? Y

Does he/she like red wine (Y/N)? N

 

Erik Karlsson will be having Roasted Prime Rib with White Wine for dinner!

 

Guest #5:

What is your guest’s name? Paula Montoya

Vegetarian (Y/N)? N

Does he/she like red meat (Y/N)? Y

Alcoholic beverage (Y/N)? Y

Does he/she like red wine (Y/N)? Y

 

Paula Montoya will be having Roasted Prime Rib with Red Wine for dinner!

 

Guest #6:

What is your guest’s name? Jonathan Andrews

Vegetarian (Y/N)? Y

Alcoholic beverage (Y/N)? N

 

Jonathan Andrews will be having Garden Pasta with Ice Tea for dinner!

 

Guest #7:

What is your guest’s name? Dooby McFoosen

Vegetarian (Y/N)? N

Does he/she like red meat (Y/N)? N

Alcoholic beverage (Y/N)? Y

Does he/she like red wine (Y/N)? N

 

Dooby McFoosen will be having Rotisserie Chicken with White Wine for dinner!

 

Guest #8:

What is your guest’s name? Daniela Smith

Vegetarian (Y/N)? Y

Alcoholic beverage (Y/N)? Y

Does he/she like red wine (Y/N)? Y

Daniela Smith will be having Garden Pasta with Red Wine for dinner!

The total cost for the banquet is: $192.25 The average cost per guest is: $ 24.03

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

932 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

642 Answers

Hire Me
expert
Husnain SaeedComputer science

981 Answers

Hire Me
expert
Atharva PatilComputer science

519 Answers

Hire Me

Get Free Quote!

397 Experts Online