# Plane Management System
The Plane Management System is a Java-based console application that allows users to manage seat bookings for a flight. It provides functionalities to book, cancel, search, and display seat availability while maintaining ticket information and total sales. The system also includes validation to ensure correct inputs and an organized seating plan.
- Buy a Seat: Allows users to book a seat by entering row, seat number, and passenger details.
- Cancel a Seat: Removes a booked seat from the system.
- Find First Available Seat: Identifies the first unoccupied seat.
- Show Seating Plan: Displays the current seating arrangement.
- Print Ticket Information & Total Sales: Shows passenger details, ticket price, and total revenue.
- Search Ticket: Retrieves ticket information based on row and seat number.
- Input Validation: Ensures correct row and seat inputs.
- Seats in Columns 1-5: £200
- Seats in Columns 6-9: £150
- Seats in Columns 10-14: £180
- Compile the Java program using a Java compiler (e.g.,
javac PlaneManagementSystem.java). - Run the compiled file (
java PlaneManagementSystem). - Follow the on-screen prompts to interact with the menu.
- Java (Core programming language)
- Console-based UI for user interactions
- GUI integration for better user experience
- Database connectivity to store booking records
- Online payment system for ticket purchases