I\'m having a hard time to work on this program. Please Help!! For better look a
ID: 3633432 • Letter: I
Question
I'm having a hard time to work on this program. Please Help!! For better look at the menu look at www.bigislandpizza.com.
Part 1
Define a base class for a general menu item. Big Island Pizza primarily sells pizza, but they also sell pizza bakes, pasta, deli sandwiches, cheese bread, salads, and beverages. Your base class should be general enough in regard to its attributes and functions to handle all of these cases.
In particular, you will want to have the ability to calculate a price for the item, but this may not be clear until you have determined the item.
Part 2
Create a subclass for your base class called pizza. Obviously, your pizza class will need to have some sort of data structure(s) to hold all of the delicious toppings that Pizza Hawaii has available. It should also have a variable to hold its size.
Explanation / Answer
class menu { char array[]={"pizza","pasta","deli sandwich","cheese bread","salads","beverages"} void order(void) void bill(void) }; class sub extends pizza { //put you data here }
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.