A C-based system for managing parking lots, developed for the IAED course at Instituto Superior Técnico.
- Create and remove parking lots
- Register vehicle entries and exits
- Track vehicle history
- Calculate billing based on time intervals
- List park occupancy and revenue
p→ create/list parking lotse→ register entrys→ register exitv→ view vehicle historyf→ show billingr→ remove parking lotq→ quit program
p Saldanha 200 0.20 0.30 12.00
p "CC Colombo" 400 0.25 0.40 20.00
e Saldanha AA-00-AA 01-03-2024 08:34
s Saldanha AA-00-AA 01-03-2024 10:59
v AA-00-AA
f Saldanha
f Saldanha 20-02-2024
r Saldanha
├── projeto.c # Main program implementation
├── projeto.h # Header file with function declarations
├── auxiliaesr.c # Auxiliary functions
├── auxiliares.h # Auxiliary header file
├── verificacoes.c # Validation functions
├── verificacoes.h # Validation header file
└── README.md # This file
gcc -O3 -Wall -Wextra -Werror -Wno-unused-result -o proj1 *.c./proj1 < input.txt > output.txt- Strict input/output formatting is required
- Maximum 20 parking lots supported
- Time-based billing uses 15-minute intervals
- Leap day (29 Feb) is excluded from billing
- Code follows IAED restrictions (no goto, no qsort, etc.)