Question: 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
Comp133
First Semester 2023/2024
Instructors: Mohammed Alkhanafseh, Marwan Bsharat
Due Date: The End of Monday 29/1/2024(This deadline can't be extended)
Submission process for the final project via ITC-MetaCourse/ 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 Serial-Number; Expired-Date; 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, Expire-Date, 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.
 Computer Science Department Comp133 First Semester 2023/2024 Instructors: Mohammed Alkhanafseh, Marwan

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!