Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c + + pizaa program Define a class called Pizza that has member variables for the type of pizza ( deep dish, hand tossed, or
c pizaa program
Define a class called Pizza that has member variables for the type of pizza deep
dish, hand tossed, or pan size small medium or large and the number of
toppings. Include mutator and accessor functions for your class. Create a function
that will output a description of the pizza. Include a function that will calculate the
price of your pizza: small is $ medium is $ and large is $ Each
topping costs $
Define an order class that contains a private vector of type Pizza. This class
represents a customers entire order where the order can consists of multiple
pizzas hence the vector customer name, and phone number. Include
appropriate functions so that a user of the order class can add pizzas to the order.
Include a function that outputs the entire order along with the total price. Allow
your program to add multiple pizzas to an order.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started