Write a C program for a library automation which gets the ISBN number, name, author and...

60.1K

Verified Solution

Question

Electrical Engineering

Write a C program for a library automation which gets the ISBNnumber, name, author and publication year of the books in thelibrary. The status will be filled by the program as follows: ifpublication year before 1985 the status is reference else status isavailable. The information about the books should be stored insidea linked list. The program should have a menu and the user inserts,displays, and deletes the elements from the menu by selectingoptions. The following data structure should be used. struct list{char ISBN[ 20 ]; char NAME[ 20 ]; char AUTHOR[ 20 ]; int YEAR; charSTATUS[20]; struct list *next; }INFO; The following menu should beused in the program. Press 1. to insert a book Press 2. to displaythe book list Press 3. to delete a book from list Hint: use strcpyto fill STATUS.

Answer & Explanation Solved by verified expert
3.9 Ratings (503 Votes)
C    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students