Skip to content

CinemaReservationSystem is a Java program that facilitates the reservation of seats in a movie theater. It allows users to check seat availability, reserve seats, and provides information about the remaining seats in the cinema.

Notifications You must be signed in to change notification settings

ytrbi/CinemaReservationSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Cinema Reservation System

Cinema Reservation System is a Java program designed to manage seat reservations in a movie theater. It provides functionalities to check seat availability, reserve seats, and display information about the remaining seats in the cinema.

Features

  • Check Seat Availability: Users can check the availability of seats in the cinema.
  • Reserve Seats: Users can reserve seats for a movie.
  • Display Reservation Info: Information about the remaining seats and reservation details can be displayed.

Usage

  1. Clone the repository to your local machine.
  2. Compile the Java files using a Java compiler.
  3. Run the testCinemaReservation class to execute the program and test different functionalities.

Example

public class testCinemaReservation {

    public static void main(String[] args) {
        // Check remaining seats
        CinemaReservation.getRemainingSeats();
        
        // Create instances of CinemaReservation class
        CinemaReservation c = new CinemaReservation();
        CinemaReservation d = new CinemaReservation(8, "hi");
        CinemaReservation e = new CinemaReservation(3, "Hi", 4);
        
        // Check seat availability
        CinemaReservation.checkSeatAvailability();
        
        // Display cinema reservation info
        CinemaReservation.displayCinemaReservationInfo();
    }
    
}

About

CinemaReservationSystem is a Java program that facilitates the reservation of seats in a movie theater. It allows users to check seat availability, reserve seats, and provides information about the remaining seats in the cinema.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages