Answered step by step
Verified Expert Solution
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
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 theStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started