You are a manager of a computer hardware store and need to keep an inventory that can tell you what different peripherals you have, how many of each you have on hand and the cost of each one. Write a program that initializes the random – access file hardware.dat to 20 empty records, lets you input the data concerning each device, enables you to list all your devices, lets you delete a record for a device that you no longer have and lets you update any information in the file. The device identification number should be the key.
solution to the program
How far have you got and where are you stuck? Do you understand the requirements?