Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WRITE CODE USING JAVA Problem Statement In this lab, we will implement a Laundry Management System. This application will be used by both the laundry

WRITE CODE USING JAVA

image text in transcribed

Problem Statement In this lab, we will implement a Laundry Management System. This application will be used by both the laundry owner and users like you and me. So, there'll be an owner portal and a user portal. There'll be different dress types e.g., shirt, t-shirt, pants, trousers, suit, etc. Users can only wash or iron their clothes or they can do both. User Functionalities - For placing an order user will have to give the userID, the individual quantity of each clothing type, address, etc. as an input. - After placing the order, the user will be given an orderID. Using the orderID user will be able to see the total amount to be paid while receiving the order. S/he will also be able to see the estimated delivery date - which will initially be blank. Also, the state of the placed order will initially be 'pending'. Owner Functionalities - The owner can see the placed orders. Initially, an order will be in a 'pending' state. If the owner wishes s/he can change the order state to either 'processing' or 'delivered' state. While changing the order state to 'processing', the owner will have to give an estimated delivery date as input. Now, the user will be able to see the delivery status and date using orderID. - After changing the order status to 'delivered', the amount of that particular order will be added to the owner's total balance. At any given time, the owner will be able to see his account balance. You can assume any amount as the starting balance

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

More Books

Students also viewed these Databases questions