A C-based console application that simulates the functioning of a metro station using fundamental data structures such as Queue, Stack, and Priority Queue. The project models real-life metro operations including passenger management, ticket booking, train arrival timings, and boarding simulation.
- Passenger entry with automatic token generation
- Priority-based passenger handling (VIP / Normal)
- Ticket booking system
- Ticket cancellation with undo functionality
- Train arrival time simulation with AM/PM format
- Displays multiple upcoming trains
- Supports Purple, Green, and Yellow metro lines
- Boarding simulation using queue logic
- Queue (Priority Queue) β for passenger management
- Stack β for undoing ticket cancellations
- Arrays β for storing metro stations
- Structures β for passenger details
- Purple Line
- Green Line
- Yellow Line
Each metro line consists of predefined stations.
Train arrival time is calculated based on the current time and station distance.
METRO_SIMULATOR/ β βββ smart_metro_station_simulator.c βββ READ_ME.md βββ .gitignore
- Practical understanding of Queue, Stack, and Priority Queue
- Implementation of real-world simulation using C
- Improved problem-solving and logical thinking
- Hands-on experience with Git and GitHub
JAYANTI
Second-Year Information Science and Engineering Student
- Train capacity limitation
- Fare calculation module
- Passenger statistics
- GUI-based metro simulation