Write a program that records the inventory for a shoe store in an array of records.

Apr 17 2010 2:08 AM
Write a program that records the inventory for a shoe store in an array of records. Option to save and retrieve the records to a disk file should be provided also.
The user is given the following choices: enter a new record, display a record, change the price of a stock item, or change the number on hand. When specifying a record, the user may give the stock number or the style number. The array index can be used as the stock number. If the user decides to change the stock hand, the program should ask which sizes will have their stock on hand changed. The program should be designed to run indefinitely, keeping track of changes in stock.
Use the type of declaration below. The type declaration will have to be casted as classes.
stocknum ->integer
stylenum ->integer... See More
sizerange ->integer
class shoe has attributes:
style -> stylenum
count ->array[sizerange]of integer
price ->real

Answers (1)