a program that will assign a passenger to a seat on the airplane. The user enters a
Fantastic news! We've Found the answer you've been seeking!
Question:
a program that will assign a passenger to a seat on the airplane. The user enters a row (1-5) and a seat (A-D). The seat entry should not be CASE SENSITIVE. If the seat is available, assign an X to that position in the array. If the seat is unavailable, display a message to the passenger. NOTE: Use the displaySeats method after each row/seat entry, so the program displays the entire array. Continue processing requests(entries) until all the seats are filled, or the user enters -1 for the program to stop.
Related Book For
Basic Technical Mathematics
ISBN: 9780137529896
12th Edition
Authors: Allyn J. Washington, Richard Evans
Posted Date: