Coders Packet

Bus Reservation using C++

By Priyadarshini Gopal

Viewing availability of the bus seats and booking and cancelling bus seats using array in C++

The code provides the following options:

1. Viewing availability:

    The availability of the seats on the bus are shown in white colour while the booked seats are displayed in red colour.

2. Book seats:

    The user can book any number of available seats at a time.

3. Cancel the booking:

    The user can cancel the booking of a number of already booked seats at a time.


The code uses arrays to store data of the seats and their availability.

The colour scheme(white for available seats and red for booked seats) is displayed on Windows Operating System.

Download Complete Code


No comments yet