0% found this document useful (0 votes)
3 views2 pages

AssignmentProject 1

Uploaded by

ansarikabir338
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

AssignmentProject 1

Uploaded by

ansarikabir338
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Team Details

Team Name:
Team Leader name and sap id:
Member 2 name and sap id:
Member 3 Name and sap id:
Member 4 Name and sap id:

Project Title: Smart Library Management System


Problem Statement
Develop a Library Management System in C that allows users to perform the following
operations:
Add a Book:
o The user should be able to add a new book to the library by entering the Book
ID, Title, and Author.
o Display a success message once the book is added.
Sample:input output
 Enter Book ID: 101
 Enter Book Title: "C Programming"
 Enter Book Author: "Author A"
 Book Added Successfully.

Borrow a Book:
o The user should be able to borrow a book by providing a Student ID and
Book ID.
o If the book is available, it should be marked as borrowed, and a confirmation
message should be displayed.
Sample:input output

 Enter Student ID: 1001


 Enter Book ID: 101
 Book Borrowed Successfully by Student 1001.

Return a Book:
o The user should be able to return a borrowed book by entering the Student
ID, Book ID, and the Number of Days Late (if any).
o If the book is returned late, calculate the fine (e.g., Rs. 10 per day late) and
display the total fine before confirming the return.
Sample:input output

 Enter Student ID: 1001


 Enter Book ID: 101
 Enter Number of Days Late: 5
 Fine of Rs. 50 Applied.
 Book Returned Successfully.
Generate Reports:
o Display a list of all available books in the library, including their Book ID,
Title, and Author.
o Display a list of all borrowed books, including the Student ID and the Book
Title each student has borrowed.

Sample Input/Output:
List of All Available Books:
1. Book ID: 102, Title: "Data Structures"
2. Book ID: 103, Title: "Operating Systems"
List of Borrowed Books: 1. Student ID: 1001,
Borrowed: "C Programming"

You might also like