Write a procedure that gets the information for a book from


Problem

Write a procedure that gets the information for a book from the keyboard and puts it into a record of the type defined in Exercise 5. Write another procedure that displays the information contained in a record of the type defined in Exercise 5. The record should be passed as a parameter to each of these procedures.

Exercise 5

You are designing an automated library catalog system. For each book, there is a catalog entry consisting of the call number (up to 10 characters), the number of copies in the library (a positive number), the author (up to 30 characters), the title (up to 100 characters), and a description of the contents (up to 300 characters).

a. Write the type definitions necessary to contain this information in a direct file.

b. Estimate how many characters of file space are required to hold all the catalog information for the library. (Assume that an integer value occupies the equivalent of four characters in the file and that the library has 50,000 book titles.)

c. How many book records can a computer with 1,440,000 characters of file space hold?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a procedure that gets the information for a book from
Reference No:- TGS02652686

Expected delivery within 24 Hours