Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Build an application that represents a simple system that can be used by an online food delivery company to manage its customers information. This application

Build an application that represents a simple system that can be used by an online food delivery company to manage its customers information. This application should provide a suitable user interface that allows a user to select and perform the following SIX (6) operations:

Customer Registration: Add a new customer with his/her details: customer name, customer id (must be 6 digits), home address and email address. Add Customer Order: Add a new order from a customer. The data for each order is the customer id, the restaurants name, date ordered and the amount paid (in RM). The system will ask for the customers id first before the user can enter the customer orders data. If the customers id does not exist (i.e., customer hasnt registered yet), the system will display an appropriate error message. Note: i) For restaurant names, the system can optionally display the available list of restaurants (you can limit to a maximum of 5 restaurants) and the user will input a restaurant selected from this list only. ii) For date ordered, the system can obtain the computers current date instead of getting the input from the user. Display Past Orders: Find a particular customer based on the id and if found, display all the past orders (restaurants names, date ordered and amount paid) of the customer. Lastly, display the average amount paid for all of the past orders of this customer. If the id is not found, display an appropriate message. Edit Customer: Modify/Change any of the following customer details: name, home address or email address. List Customers: List all customers that have more than a given number of past orders. The system will ask for the number of past orders first. Then, it will list all customers that have ordered in the past more than the number entered. For example, if the number entered in 3, the system will list all customers that have more than 3 past orders. For each customer, display only the id, name and email address. Exit: Terminate and exit from the system.

IN JAVA

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_2

Step: 3

blur-text-image_3

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions