- Use two-dimensional array with size 7 columns and 5 rows.
- Seat numbers are populated during run-time.
- User is asked to input a seat number.
- Seat number chosen is replaced by 0.
- Program displays a remark “Seat successfully reserved” when reservation is done.
- User is not allowed to reserve a previously reserved seat. Display “Seat is taken” remarks.
- User is not allowed to enter an invalid seat number. Display an error message.
- Program continuously loops.
Shikigami 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
rproffitt commented: That's good to know. My answer would change to review your coursework leading up to this assignment. +15
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.