Question: CSD201 - Assignment 1 Product Management System using a linked list data structure INTRODUCTION Your first assignment will be using a linked list data structure

 CSD201 - Assignment 1 Product Management System using a linked list

data structure INTRODUCTION Your first assignment will be using a linked list

data structure for implementing a small Product Management System application in Java.

About a product: 1. pcode (string): the code of the product (this

CSD201 - Assignment 1 Product Management System using a linked list data structure INTRODUCTION Your first assignment will be using a linked list data structure for implementing a small Product Management System application in Java. About a product: 1. pcode (string): the code of the product (this should be unique for the product). 2. pro_name (string): the name of the product. 3. quantity (integer): the number of products with the same code in a shop at beginning of a day. 4. sold (integer): the number of products with the same code, which is sold in the day. Condition: sold s quantity. 5. price (double): The price of the product. YOUR TASKS You should use a linked list to store data for products. You should create the linked list from scratch, do not use fist structures available in java like ArrayList, Vector, or LinkedList classes. Your program will read in a list of tasks from the file "tasks.txt". An example of the content of that file is: 1 product.txt 3 2 P09 Bread 1055 5 P01 5 P09 6 PO2 3 4 newproduct.txt Each line in the file is a task. The following are the list of tasks and explanation. Tasks: Product list: 1 Load data from file 2 Input & add to the end 3 Display data 4 Save product list to file 5 Search by pcode CO 6 Delete by pcode

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!