An Airline Seat Resevation CLI based application that allows users to book seats on a flight in different classes: First Class, Business Class, and Economy Class. The program provides a grid-based visual representation of the available seats ('*') and allows users to book seats interactively as well as strictly keeping the Booked/Occupied Seats ('X') in view.
- Clear and user-friendly CLI interface with colored output for improved readability.
- Three classes: First Class, Business Class, and Economy Class, each with designated seat ranges.
- Real-time seat availability display with the option to mark seats as occupied.
- Interactive booking process with error handling for invalid inputs.
- Ability to register multiple seats in a single session.
- Run the
app.cpp
file to start the program. - Select the desired class by entering the corresponding number from the displayed menu.
- Choose the row and seat number for the seat you wish to book.
- If the seat is available, it will be marked as booked ('X') on the grid. All the available seats are marked as ('*')
- If the seat is already occupied, a warning message will be shown, and you can choose a different seat.
- The program allows booking seats until you decide to exit.
- C++ Compiler (e.g., g++) ~ Recommended: Visual Studio, VS Code
-
Clone the Repository
https://github.com/SaadARazzaq/Al-Saadi-International-Airlines.git
to your local machine. -
Open the terminal or command prompt and navigate to the repository directory.
-
Compile the
app.cpp
file using a C++ compiler.g++ app.cpp -o app
-
Run the compiled executable.
-
Enjoy Reserving Seat at Al Saadi International Airlines 😎