Skip to content

LibraryManagementSystem is a Java console application for managing a library. It allows users to add, search, remove, sort, and sell books, with features like binary search for book lookup and quick sort for price-based sorting. It also tracks sold books and total sales revenue.

Notifications You must be signed in to change notification settings

sabuj-inc/Library-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š LibraryManagementSystem

LibraryManagementSystem is a Java console-based application designed to manage the basic operations of a library. It allows users to add, search, remove, sort, and sell books, while keeping track of sold books and total sales revenue. The system demonstrates the use of object-oriented programming along with sorting and searching algorithms.


πŸš€ Features

  • πŸ“– Add Book: Enter book details (name, author, price) to add to the collection.
  • πŸ” Search Book: Find a book by name using binary search.
  • ❌ Remove Book: Delete a book by name from the collection.
  • πŸ“š View All Books: Display all currently available books.
  • πŸ“Š Sort Books by Price: Sorts books in ascending order using quick sort.
  • πŸ’° Sell Book: Remove a book from the list and add to sold records.
  • πŸ“¦ View Sold Books & Total Sales: Displays all sold books and total sales amount.
  • πŸšͺ Exit: Safely exit the program.

πŸ›  Technologies Used

  • Java SE (Standard Edition)
  • OOP (Object-Oriented Programming)
  • Java Collections (List, Iterator, Comparator)
  • Algorithms:
    • Binary Search (for fast searching by name)
    • Quick Sort (for efficient price-based sorting)

πŸ“‚ How to Run

  1. Clone or download this repository.
  2. Navigate to the project directory in your terminal.
  3. Compile the program:
    javac LibraryManagementSystem.java

About

LibraryManagementSystem is a Java console application for managing a library. It allows users to add, search, remove, sort, and sell books, with features like binary search for book lookup and quick sort for price-based sorting. It also tracks sold books and total sales revenue.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages