Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implement a simple application for Pharmacy. All medicines will be stored in a Single linked list ( SLL) . Every node in the linked list

Implement a simple application for Pharmacy. All medicines will be stored in a Single linked list (SLL). Every node in the linked list stores information for medicine as follows.

Medicine ID: string

Medicine name: string

Medicine Company: string

Medicine Price: float

The following functionalities should be implemented.

Add a medicine

Delete medicine by name and ID

Update a medicine using the ID

Search for a medicine using a given ID

Sort the linked list using medicine ID

Print all medicines to the screen.

the steps :

use generic to solve this question

use three classes the first class :Node

and the second called : Pharmacy

and the last class called : Main

using java for this question

last thing

i want the solution as a code

and show me the out put

please read all the question

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

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions

Question

Describe the nature of negative messages.

Answered: 1 week ago