Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create specified classes with following requirements. Class PizzaOrder Ability to add/remove pizza(s) An order can have more than one pizza. Ability to specify the store

Create specified classes with following requirements.

Class PizzaOrder

Ability to add/remove pizza(s) An order can have more than one pizza.

Ability to specify the store for which the order is made

Ability to apply special promotion code

Ability to check the order status Possible statuses are ORDER_CREATED, ORDER_CANCELED, ORDER_READY, ORDER_ON_DELIVERY, ORDER_COMPLETE

Has customer information

Class Pizza

Ability to specify toppings Ability to add/remove toppings

Ability to specify price

Ability to specify crust type (thin/thick)

Class Store

Ability to hold a list of employees Ability to add/remove employees

Needs to have address including zip code

Needs to have phone number

Needs to be able to show monthly pizza sales

Class Employee

Has first name, last name

Class Customer

Has first name, last name, phone number, zip code, frequent mileage number

Note:

sort PizzaOrder by order date and total order amount

search PizzaOrder by customer

search PizzaOrder by order date

pull list of PizzaOrder prior to a certain date in sorted order by date

pull list of PizzaOrder after a certain date in sorted order by date

A customer must be able to find one of stores in the same zip code

For searching and sorting above, explain time/space computation complexity using Big O Notation.

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions