Answered step by step
Verified Expert Solution
Link Copied!

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 $10.00, medium is $14.00, and large is $17.00. Each
topping costs $2.00.
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

The models used to analyse different national cultures.

Answered: 1 week ago

Question

The nature of the issues associated with expatriate employment.

Answered: 1 week ago