I need a new website. I need you to design and build my online store. Your task is to create Java application for the cost calculation for pizzas. You need to think and design the appropriate number of classes in addition to the class holding your main method. You need to determine the pizza price based on the chosen order and type of the order.
A customer can order pizza from following options
Pizza for Order
There will be two types of order Pick-up or Delivery. If the user will select delivery then 7 SAR additional cost will be added in the total cost of the pizza.
You need to maintain at least following information
• Id-id of the customer
• Name- Name of the customer
• phoneNo- phone number of the customer
• Address-Address of customer
• order-Customer can choose one from the given pizza options like Hawaiian, Aussie, Pepperoni etc
• type- Order type Pick-up or Delivery
One customer can order more than one pizzas. You need to determine the cost of each pizza ordered by the customer with the total cost associated to all orders of a single customer. The sample of input and output is given below.
Enter number of Pizza Orders: 2
Address: Building No. 59, King Faisal University
Type (Pick-Up or Delivery): Delivery
Type (Pick-up or Delivery): Delivery
Oder 1 Cost (SAR): 22.95
Oder 1 Cost (SAR): 20.95
Total cost (SAR): 43.90