Question: by using Java Description and Requirements A pizza restaurant would like a computer application to calculate and display charges for each order and total of

by using Java

Description and Requirements

A pizza restaurant would like a computer application to calculate and display charges for each order and total of sales for the day. The restaurant charges SAR 45 for large, SAR 32 for medium and 18 for small pizzas. In this project, you are expected to develop a user-friendly, high-quality system that will handle the following:

For each order:

The application must enable the user to input the customers name and asks for the number of pizzas requested for every size. The application will check to ensure that the name of the customer is not blank and the number of pizzas ordered for each size is not negative appropriate error messages must be displayed if incorrect data is entered.

The application upon ensuring that correct data has been entered, the order price plus 10% delivery service is calculated and displayed.

The application continue processing the orders of customers and accumulating the day sale that is displayed at the end of the day when the user enters the word finish when prompted for the customer name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!