Build a menu-driven seat booking system with a seat map, booking, cancellation and data saved to a file.
Skills: C / C++ / Java, 2D arrays, menus, file handling
Inspired by small private travel agencies that still book on paper
A small travel agency runs one sleeper bus every night. Seats are booked on a paper chart, and double bookings happen often.
The bus has 10 rows with 4 seats each (A, B on the left; C, D on the right). Build a console program the agent can use all day.
Create a free student account to submit your work, get mentor feedback and unlock the reference solution.