Course Solutions Uncategorized (Solved) : Airplane Seating Assignment Write Pseudocode Used Assign Seats Commercial Airplane Airplan Q37250150 . . . .

(Solved) : Airplane Seating Assignment Write Pseudocode Used Assign Seats Commercial Airplane Airplan Q37250150 . . . .

 

(Airplane Seating Assignment) Write a PSEUDOCODE thatcan be used to assign seats for a commercial airplane. The airplanehas 13 rows, with six seats in each row. Rows 1 and 2 are firstclass, rows 3 through 7 are business class, and rows 8 through 13are economy class. Your program must prompt the user to enter thefollowing information: a. Ticket type (first class, business class,or economy class) b. Desired seat Output the seating plan in thefollowing form:

A                   B                   C                   D                   E                   F

Row 1          *                    *                    X                   *                    X                  X

Row2           *                   X                   *                    X                   *                   X

Row 3          *                    *                    X                   X                   *                   X

Row 4          X                   *                    X                   *                    X                  X

Row 5          *                    X                   *                    X                   *                   *

Row 6          *                    X                   *                    *                    *                   X

Row 7          X                   *                    *                    *                    X                  X

Row 8          *                     X                   *                    X                   X                  *

Row 9          X                   *                    X                   X                   *                    X

Row 10        *                     X                    *                    X                    X                  X

Row 11         *                    *                    X                   *                    X                  *

Row 12         *                    *                    X                   X                   *                   X

Row 13         *                    *                    *                    *                    X                  *

Here, * indicates that the seat is available; Xindicates that the

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post