#ifndef _PIZZA1_H_ #define _PIZZA1_H_ #include using namespace std; const int NRTOPPINGS = 6; // available const int MAXTOPPINGS = 3; // per pizza class Pizza { public: // default constructor Pizza ( void ); void ListToppings ( void ) const; double GetPrice ( void ) const; void SetSize (string s); void SetTopping (string t); // output operator as a friend friend ostream& operator<< (ostream& out, const Pizza& p); private: string allToppings [NRTOPPINGS]; string toppings [MAXTOPPINGS]; int nrToppings; string size; float smallPrice; float medPrice; float largePrice; float smallToppingPrice; float medToppingPrice; float largeToppingPrice; }; #endif