Part-1: Admin In the admin part, the admin can add, delete medicines serially wherever he wants! (Medicine Name, Price)! All the added medicines will be stored in ‘Medicine.txt File’ there will be an admin id password! If the input password is wrong it will throw an exception! Part-2: Customer In the Customer Part, There will be 3 portions 1st one is for Sign Up, 2nd one is for Login and the last one is continuing as a guest! In Sign up part, the Customer needs to sign up for Shop Membership. After successful signup customers' data(name, age etc.) will be stored in a different file named ‘Customer Info.txt’! Then log in, in this portion customer needs to log in to his account to buy medicine! The customer will input the serial number and the quantity of the medicine which he wants to buy, After successful input that medicine will be added to the cart, and customer can add or remove more medicines to the cart! After the selection is completed it will go to the billing page and show a Complete bill of the customer (if possible keep a way that is customers will have some percentage of discount if he crosses his threshold which is only for members not for guests). In Guest, portion customers can buy medicines without login. Part 3 : Credit In this part, there will be 3 names (for instance: X, Y, Z) and greetings for the customers.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

** Java Programming **

Please Use Basic Java not GUI

•Pharmacy Management System•

Your job is to think of a scenario of a Pharmacy! Where various types of medicines are sold! In this pharmacy, there will be 3 parts!

Part-1: Admin

In the admin part, the admin can add, delete medicines serially wherever he wants! (Medicine Name, Price)! All the added medicines will be stored in ‘Medicine.txt File’ there will be an admin id password! If the input password is wrong it will throw an exception!

Part-2: Customer

In the Customer Part, There will be 3 portions 1st one is for Sign Up, 2nd one is for Login and the last one is continuing as a guest! In Sign up part, the Customer needs to sign up for Shop Membership. After successful signup customers' data(name, age etc.) will be stored in a different file named ‘Customer Info.txt’! Then log in, in this portion customer needs to log in to his account to buy medicine! The customer will input the serial number and the quantity of the medicine which he wants to buy, After successful input that medicine will be added to the cart, and customer can add or remove more medicines to the cart! After the selection is completed it will go to the billing page and show a Complete bill of the customer (if possible keep a way that is customers will have some percentage of discount if he crosses his threshold which is only for members not for guests). In Guest, portion customers can buy medicines without login.

Part 3 : Credit

In this part, there will be 3 names (for instance: X, Y, Z) and greetings for the customers.

(Please add the name of the pharmacy, a welcoming message, and use necessary exception handlings wherever the program needs.)

Please add more and more comments.. Please make the code as basic as you can don't use pro-level methods. Use file.. Thanks!

Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY