Answered step by step
Verified Expert Solution
Link Copied!

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
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.
image text in transcribed

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

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago

Question

e. What do you know about your ethnic background?

Answered: 1 week ago