Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

code in java I PHARMACY MANAGEMENT SYSTEM Your task for this lab is to implement a pharmacy management system. The application will be used by

code in java

image text in transcribed

I PHARMACY MANAGEMENT SYSTEM Your task for this lab is to implement a pharmacy management system. The application will be used by both the shop owner and the customer. As such, there will be an Owner portal and a Customer portal. Initially, customers will give their information like age,blood group, medical history, etc. Customers should be asked how many medicine types they want to buy and for how many days they require the medicine. Then they will give input for their medicines in the following format: Med_A 1+0+1 Med_B 0+0+1 (Here, 1+0+1 implies that the customer needs 2 Med_A tablets daily.) Your task is to generate a unique customer ID using the current date, blood group, and age of the customer. An example of the generated customer ID is as follows: 31.01.0+ve.01 (Here, 31.01 is the date, 0+ve is the blood group, 01 is the current customer count.) You will also have to show the number of medicines of each type the customer needs. For example, if a customer needs Med_A of dosage 1+0+1 for 30 days, your program should output the following: Med_A : 60

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

Step: 3

blur-text-image

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

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions