Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Computer Science Department Comp 1 3 3 First Semester 2 0 2 3 / 2 0 2 4 Instructors: Mohammed Alkhanafseh, Marwan Bsharat Due Date:
Computer Science Department
Comp
First Semester
Instructors: Mohammed Alkhanafseh, Marwan Bsharat
Due Date: The End of Monday This deadline can't be extended
Submission process for the final project via ITCMetaCourse Final Project
Supermarket Inventory Management System
Each student required to build a comprehensive C program using parallel array
only that specified for Supermarket Inventory System
The user required to read from file at the beginning of the process, and do
different operations on the system.
Read Initial Data: Load data from the "stores.txt file at the beginning of
the program.
The File Content as follows
Product Name; Product SerialNumber; ExpiredDate; Product Purchasing
Price; Product Selling Price, Number of units in the store.
Parallel Arrays: Use parallel arrays to store different attributes of each
product. For example:
productName: Array to store product names.
serialNumber: Array to store product serial numbers.
expiredDate: Array to store expiration dates.
purchasePrice: Array to store product purchasing prices.
sellingPrice: Array to store product selling prices.
unitsInStore: Array to store the number of units in the store.
:
Add Product:
Prompt the user to input details for a new product Product Name,
serial number, ExpireDate, purchasing price, selling price, number
of units
Add the new product to the inventory.
Delete Product:
O Prompt the user to input the serial number of the product to be
deleted.
Remove the product from the inventory.
Search for Product:
Prompt the user to input the serial number or name of the product.
Display the details of the product if found.
Update Price:
Prompt the user to input the serial number of the product.
Allow the user to update the purchase price, purchasing price, or
selling price.
Display Inventory:
Display the details of all products in the inventory.
Exit:
Save the updated inventory data to the "stores.txt file.
Terminate the program.
IMPORTANT NOTE:
YOU MUST IMPLEMENT THE PROJECT USING PARALLEL ARRAYS
EXACTLY AS SPECIFIED IN THE DESCRIPTION ABOVE. YOU MUST NOT
USE ANY STRUCTURES. USING ANY STRUCTURES ANYWHERE IN YOUR
PROJECT WILL RESULT IN YOU GETTING A GRADE OF ZERO FOR THE
WHOLE PROJECT.
Step 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