Question: Need the Template on this - - - - - Assignment # 6 - Pizza Restaurant Write a C + + program ( define a

Need the Template on this -----
Assignment #6- Pizza Restaurant
Write a C++ program (define a class called Pizza) that has member variables to track the
type of pizza (Deep Dish, Hand-Tossed Pizza, Original Pan-Pizza or Thin 'N Crispy) along
with the size (Small, Medium, or Large), and the toppings Meat toppings (Pepperoni,
Italian Sausage, Bacon, Ham, Mushroom, Grilled Chicken, Beef, Pork) and Veggies
toppings(Mushroom, Red Onions, Black Olives, Green Peppers, Tomates)
Based on the problem, you need to design the program as follows:
Use constants to represent the type and size.
Include mutator(setter) and accessor(getter) functions for your class.
Create a void function, output Description (), that outputs a textual description of
the pizza object.
Also include a function, compute Price (), that computes the cost of the pizza and
returns it as a double according to the following rules:
Small pizza =$10+$2 per topping
Medium pizza =$14+$2 per topping
, Large pizza =$17+$2 per topping
After the order of the pizza has been inputted, describe the order in format of a
bill/receipt of purchase which will describe the type of pizza with the price, size of
pizza with the price, the toppings that the customer order with the price (describe in
line 4) and Total amount.
Need the Template on this < - - - - - Assignment

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 Programming Questions!