Part-1: Admin In admin part, admin can add medicines serially wherever he wants! (Medicine Name, Price)! All the added medicines will be stored in ‘Medicine.txt' file there will be admin ID password! If the input password is wrong it will throw exception!
*** Java
•Pharmacy Management System•
Your job is to think a scenario of a Pharmacy! Where various types of medicines are sold! In this pharmacy there will 3 part!
Part-1: Admin
In admin part, admin can add medicines serially wherever he wants! (Medicine Name, Price)! All the added medicines will be stored in ‘Medicine.txt' file there will be admin ID password! If the input password is wrong it will throw exception!
Part-2: Customer
In Customer Part, There will be 3 portions one is Sign Up, one is for Login and the last one is continuing as guest! In Sign up part Customer needs to sign up for Shop Membership. After successful sign up customers data will be stored in a different file named ‘Customer Info.txt’! Then Login, in this portion customer needs to log in to his account to buy medicine! 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 more medicines to the cart! After selection is completed it will go to the billing page and show a Complete bill of the customer. In Guest portion customer can buy medicines without login.
Part 3 : Credit
In this part there will be 3 names and greetings for the customers.
(Please Add a name of the pharmacy and Welcoming Message. Keep the code as basic as possible for me because I'm beginner in Java)
Step by step
Solved in 3 steps with 3 images