Click to see view the html version of this project.
-
It can create a new customer object
- Example input: new Customer
- Example output: "Dr. Gonzo", "2000 2nd Avenue, #5, Seattle", "206-555-1212"
-
It can create a new order
- Example input: new Order
- Example output: "CustomerID = 1", "Delivery"
-
It can add a pizza to an order
- Example input: new Pizza
- Example output: "Whole Wheat", "Garlic", "Mushrooms, Onions, Green Pepper, Sausage, Mozzarella"
-
It can calculate the cost of a pizza
- Example input: new Pizza, "Small", /"Garlic", "Mushrooms, Onions, Green Pepper, Sausage, Mozzarella/"
- Example output: $17.50"
-
It can calculate the total cost of an order, add sales tax and delivery charge
- Example input: new Order, add Pizza, "Small", "Delivery", /"Garlic", "Mushrooms, Onions, Green Pepper, Sausage, Mozzarella/"
- Example output: $17.50 + 10% tax + $5.00 delivery charge = $24.25


