Provide the codes to the following program specifications General Description The program simulates a seat reservation s
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Provide the codes to the following program specifications General Description The program simulates a seat reservation s
4. The program should be able to validate the input. If the input is not A to F, the program should prompt the user to enter the values again. 5. The program will show the following output that marks the chosen seat of the user with an "X". Enter the row number using numbers from 1 to 5 3 Enter the column letter by entering letters A to F BA Seat Reservation System E E E BEEXEE CE JEEEE E E E LIKE E Do you want to reserve more seats? (Y/N) E mmmmmm E E E E لا لا لا لا لا لا ד E
6. The program will then prompt the user if he or she wants to reserve again. If the user says yes, the program display will again be similar to number 1 and number 2 where users will be prompted to enter a seat again. 7. Once again, the seats will be updated based on the user's choice. Seat Reservation System SAWNE E E E E BEEXEE CEEEEE DEXEEE E E E E E33EEE FEEEEE Do you want to reserve more seats? (Y/N) 8. If the user, chooses a seat that has already been taken, an error message will be shown, and the user will be prompted to enter a seat again.
seat is. aready taken 3 Seat Reservation System AEEEEE BEEXEE CEEEEE DEXEEE E E d D Do you want to reserve more seats? (Y/N) Thank you Thank youThank you Thank youThank you Thank you Thank you Thank you Thank Thank you Thank you Thank Thank you Thank you Thank Thank you Thank you Thank you Thank youThank you Thank you mmmmmm you Thank you you Thank you Thank you you Thank you E E E E E FEEE3E E 9. Once the user says no to the question "Do you want to reserve more seats?" the program will display the following: E
seat is. aready taken 3 Seat Reservation System AEEEEE BEEXEE CEEEEE DEXEEE E E d D Do you want to reserve more seats? (Y/N) Thank you Thank youThank you Thank youThank you Thank you Thank you Thank you Thank Thank you Thank you Thank Thank you Thank you Thank Thank you Thank you Thank you Thank youThank you Thank you mmmmmm you Thank you you Thank you Thank you you Thank you E E E E E FEEE3E E 9. Once the user says no to the question "Do you want to reserve more seats?" the program will display the following: E