Question: Need the Template on this - - - - - Assignment # 6 - Pizza Restaurant Write a C + + program ( define a
Need the Template on this
Assignment # Pizza Restaurant
Write a program define a class called Pizza that has member variables to track the
type of pizza Deep Dish, HandTossed Pizza, Original PanPizza 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
toppingsMushroom 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 mutatorsetter and accessorgetter 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 $$ per topping
Medium pizza $$ per topping
Large pizza $$ per topping
After the order of the pizza has been inputted, describe the order in format of a
billreceipt 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 and Total amount.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
