Task: Develop a C++ Program for Library Book Checkout Create a C++ program that simulates a library book checkout system. The program should allow users to check out and return books, maintain a catalog of available books, and display information about overdue books. Follow these guidelines: Start by initializing a catalog of books in the library, including details like title, author, and availability status. Implement functions for checking out and returning books. Update the availability status accordingly. Prompt users to input their library card number before checking out or returning a book for tracking purposes. Keep track of due dates for checked-out books. Assume a standard lending period of 14 days. Display information about overdue books, including the book details and the number of days overdue. Provide feedback on successful checkouts, returns, or overdue book information. Include multiple-line comments to explain the purpose, input, and output of the program. Use single-line comments to clarify complex statements or justify your reasoning. Maintain proper indentation and use self-documenting variable names for better readability. Test your program with the sample data below and provide screenshots of the output: Sample Run: Welcome to the Library Book Checkout System! Library Catalog: 1. Title: The Great Gatsby | Author: F. Scott Fitzgerald | Available: Yes 2. Title: To Kill a Mockingbird | Author: Harper Lee | Available: Yes 3. Title: 1984 | Author: George Orwell | Available: Yes 4. Title: Pride and Prejudice | Author: Jane Austen | Available: Yes Enter your library card number: 123456 Enter the book number you want to check out: 2 Checkout successful! The Great Gatsby is due in 14 days. Enter your library card number: 123456 Enter the book number you want to return: 2 Return successful! Thank you for returning To Kill a Mockingbird. Overdue Books: - The Great Gatsby | Days overdue: 3

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Don't give me AI generated answer or plagiarised answer. If I see these things I'll give you multiple downvotes and will report immediately.
Task: Develop a C++ Program for Library Book Checkout
Create a C++ program that simulates a library book checkout system. The program
should allow users to check out and return books, maintain a catalog of available
books, and display information about overdue books. Follow these guidelines:
Start by initializing a catalog of books in the library, including details like title, author,
and availability status.
Implement functions for checking out and returning books. Update the availability
status accordingly.
Prompt users to input their library card number before checking out or returning a
book for tracking purposes.
Keep track of due dates for checked-out books. Assume a standard lending period of
14 days.
Display information about overdue books, including the book details and the number
of days overdue.
Provide feedback on successful checkouts, returns, or overdue book information.
Include multiple-line comments to explain the purpose, input, and output of the
program. Use single-line comments to clarify complex statements or justify your
reasoning. Maintain proper indentation and use self-documenting variable names for
better readability.
Test your program with the sample data below and provide screenshots of the output:
Sample Run:
Welcome to the Library Book Checkout System!
Library Catalog:
1. Title: The Great Gatsby | Author: F. Scott Fitzgerald | Available: Yes
2. Title: To Kill a Mockingbird | Author: Harper Lee | Available: Yes
3. Title: 1984 | Author: George Orwell | Available: Yes
4. Title: Pride and Prejudice | Author: Jane Austen | Available: Yes
Enter your library card number: 123456
Enter the book number you want to check out: 2
Checkout successful! The Great Gatsby is due in 14 days.
Enter your library card number: 123456
Enter the book number you want to return: 2
Return successful! Thank you for returning To Kill a Mockingbird.
Overdue Books:
- The Great Gatsby | Days overdue: 3
Transcribed Image Text:Task: Develop a C++ Program for Library Book Checkout Create a C++ program that simulates a library book checkout system. The program should allow users to check out and return books, maintain a catalog of available books, and display information about overdue books. Follow these guidelines: Start by initializing a catalog of books in the library, including details like title, author, and availability status. Implement functions for checking out and returning books. Update the availability status accordingly. Prompt users to input their library card number before checking out or returning a book for tracking purposes. Keep track of due dates for checked-out books. Assume a standard lending period of 14 days. Display information about overdue books, including the book details and the number of days overdue. Provide feedback on successful checkouts, returns, or overdue book information. Include multiple-line comments to explain the purpose, input, and output of the program. Use single-line comments to clarify complex statements or justify your reasoning. Maintain proper indentation and use self-documenting variable names for better readability. Test your program with the sample data below and provide screenshots of the output: Sample Run: Welcome to the Library Book Checkout System! Library Catalog: 1. Title: The Great Gatsby | Author: F. Scott Fitzgerald | Available: Yes 2. Title: To Kill a Mockingbird | Author: Harper Lee | Available: Yes 3. Title: 1984 | Author: George Orwell | Available: Yes 4. Title: Pride and Prejudice | Author: Jane Austen | Available: Yes Enter your library card number: 123456 Enter the book number you want to check out: 2 Checkout successful! The Great Gatsby is due in 14 days. Enter your library card number: 123456 Enter the book number you want to return: 2 Return successful! Thank you for returning To Kill a Mockingbird. Overdue Books: - The Great Gatsby | Days overdue: 3
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY