https://github.com/aadityapate/live-show-booking-system
A live show booking system that allows users to check available seats, book or cancel reservations for two predefined shows using a simple matrix representation.
https://github.com/aadityapate/live-show-booking-system
cpp
Last synced: about 1 month ago
JSON representation
A live show booking system that allows users to check available seats, book or cancel reservations for two predefined shows using a simple matrix representation.
- Host: GitHub
- URL: https://github.com/aadityapate/live-show-booking-system
- Owner: aadityapate
- Created: 2024-09-23T10:01:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-01T19:03:01.000Z (over 1 year ago)
- Last Synced: 2025-03-01T12:51:37.306Z (over 1 year ago)
- Topics: cpp
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Live Show Booking System
Live show booking system is a system in which we can book seats of a live show as per the availability of seats.
## Functionality:-
1. We can see available seats of a show
2. We can book and cancel seat.
## Constraints:-
1. rows and columns for both shows are constant.
2. Only 2 shows added by default.
## How it works?
1. First choose the show which you want to see.
2. Then enter the row and column of a seat (consider 1-based indexing like 11 , 12 etc.) that you want to book.
3. After entering the row and column of a seat, the seats will be booked.
4. The seat matrix will show 1 for booked seat, 0 for available seat.
5. You can also cancel the seat by entering the row and column of a seat.