Question
Create a program for a small library information system with requirements: a. Display options on the screen: 1. Input book record 2. book record (Sorted)
Create a program for a small library information system with requirements: a. Display options on the screen: 1. Input book record 2. book record (Sorted) 3. Display Update book record 4. Erase book record 5. Save and Exit b. If user choose option 1, ask user to input book information. Write a structure to record book information: Book id Book title Author name Year published c. Use array of structure to store maximum 100 records. d. If user choose option 2, read from file Library.txt. If the file doesnt exist, create the file. Display all records on the list. The list should be sorted by title ascending. e. If user choose option 3, ask user to input book id. Display old record then ask user to input new record. f. If user choose option 4, ask user to input book id. Search record on the list then remove it. g. If user choose option 5, save file and exit. h. File Library.txt is keeping record in format: book id#book title#author name#year published
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started