Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please read and implement all the steps, and I also want a solution using Java I want the solution as a code and please show

image text in transcribed

Please read and implement all the steps, and I also want a solution using Java

I want the solution as a code and please show me the out put

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. 1. Add a medicine 2. Delete medicine by name and ID 3. Update a medicine using the ID 4. Search for a medicine using a given ID 5. Sort the linked list using medicine ID 6. Print all medicines to the screen. Q2: [3 marks] Solve Q1 using double linked list Assume any other information you need. Q3: [3 marks] - Implement Binary_Search method to search in an array of type Course. - The course has the following attributes: - Name : String - Credit_hours : intger - Instructor: String - Sort the array using the name, and use the name in the search. Use any sorting algorithm - Write a main method to test the

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

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

ISBN: 3642412203, 978-3642412202

More Books

Students also viewed these Databases questions