Question: Write a C++ program that uses a structure to store the following inventory data in a file: -Item Description -Quantity on Hand -Wholesale Cost -Retail

Write a C++ program that uses a structure to store the following inventory data in a file:

-Item Description

-Quantity on Hand

-Wholesale Cost -Retail Cost

-Date Added to Inventory

The program should have a menu that allows the user to perform the following tasks:

-Add new records to the file.

-Display any record in the file.

-Change any record in the file.

Input Validation: The program should not accept quantities, or wholesale or retail costs, less than 0. The program should not accept dates that the programmer determines are unreasonable.

Please write the completed code with EXPLANATIONS, and please do not copy other posts. I need an original code, please make it original. I will upvote, thank you! In C++

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!