Question: Flow Chart and Pseudocode for this program. #include #include using namespace std; void book(); void display(); char seat[13][6]; //main function int main() { int i,j,choice;
Flow Chart and Pseudocode for this program.
#include
void book(); void display();
char seat[13][6];
//main function int main() { int i,j,choice; //assigning default value '*' to all seats for(i=0;i>choice; switch(choice) { case 1: book(); break; case 2: display(); break; case 3: break; default: cout
//funtion to book a seat void book() { string ticketType; int seatnumber; int rownumber; string temp; cout>rownumber; cout>seatnumber; //if row number and seat number are correct than book seat if(seatnumber>=1 && seatnumber=1 && rownumber>rownumber; cout>seatnumber; //if row number and seat number are correct than book seat if(seatnumber>=1 && seatnumber=3 && rownumber>rownumber; cout>seatnumber; //if row number and seat number are correct than book seat if(seatnumber>=1 && seatnumber=8 && rownumber
}
//display function void display() { int i,j; cout

![void book(); void display(); char seat[13][6]; //main function int main() { int](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f32d14d5f60_82066f32d147c72e.jpg)

Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : 1 Enter the ticket type(first class, business class, or economy class) : first class Enter the Row number(1-2) 2 Enter the seat number(1-6) 1 Seat Booked sucessfully!!! Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : 1. Book a seat 2. See available seats 3. Exit Enter your choice : 2 B D F Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Row 7 Row 8 Row 9 Row 10 Row 11 Row 12 Row 13 indicates that the seat is available; x indicates that the seat is occupied. Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : 1 Enter the ticket type(first class, business class, or economy class) : first class Enter the Row number(1-2) 2 Enter the seat number(1-6) 1 Seat Booked sucessfully!!! Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice : 1. Book a seat 2. See available seats 3. Exit Enter your choice : 2 B D F Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Row 7 Row 8 Row 9 Row 10 Row 11 Row 12 Row 13 indicates that the seat is available; x indicates that the seat is occupied. Airplane Seating Menu 1. Book a seat 2. See available seats 3. Exit Enter your choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
