Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Title: Market Management SystemProject Overview:The project aims to develop a comprehensive management system for a market,focusing on inventory and transaction management and some other

Project Title: Market Management SystemProject Overview:The project aims to develop a comprehensive management system for a market,focusing on inventory and transaction management and some other features. In thefirst part of the project, you are required to implement it using C structures andarrays. For the second part of the project, you are required to convert your programto work with linear linked lists.Part1: C Structures and Functions: C Structure to hold User Informationusername[]: Stores the username of the user.password[]: Stores the password of the user.role: Represents the role of the user (e.g., Customer, cashier, manager). C structure for Items Management:itemID: Unique identifier for the item.itemName[]: Name of the item.quantity: Quantity of the item available in stock.price: Price of the item.supplier[]: Name of the supplier for the item. Functions:addItem: Adds a new item.deleteItem: Deletes the item with the specified ID.updateItem: Updates the information of the item with the specified ID.searchItem: Searches for an item by name and returns its details. C structure for Transaction Management:transactionID: Unique identifier for the transaction.transactionAmount: Amount involved in the transaction.transactionType[]: Type of the transaction (e.g., sale, purchase, return, adjustment).transactionDate: Date of the transaction. Functions:recordSale: Records a sale transaction.recordPurchase: Records a purchase transaction.recordReturn: Records a return transaction.recordAdjustment: Records an adjustment transaction due to factors like damage orexpiry. C structure for Stock History:movementID: Unique identifier for the movement.itemID: ID of the item involved in the movement.quantity: Quantity of items moved.transactionType[]: Type of transaction associated with the movement.movementDate: Date of the movement. Functions:addMovement: Adds a new movement record.deleteMovement: Deletes a movement record.updateMovement: Updates a movement record.searchMovement: Searches for movement history related to a specific item. Implement a function called printDetails() that prints relevant details of the marketmanagement system. The function should display information such as user details,item information, transaction records, and stock movement history. Sorting:Implement a sorting algorithm (e.g., bubble sort) to sort items based on price, quantity, orany other relevant characteristic. Menus and Sub-menus:Have Menus and Sub-menus in your code to direct the user to the task that hewants to do. Error Handling:Implement error handling in your code for invalid inputsPart 2: Convert the above program to work with linear linked lists!

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

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

Explain the mandatory requirements of supplier partnerships.

Answered: 1 week ago

Question

please dont use chat gpt or other AI 3 5 . .

Answered: 1 week ago

Question

6 Compare and contrast mentoring and coaching.

Answered: 1 week ago

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago