-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.txt
28 lines (24 loc) · 876 Bytes
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
####### Welcome To AirPlane Seating Application #######
Enter Number Of Columns Available in airplane:-
4
Enter the number of rows, columns for column: 1 eg.[3,2] :-
[3,4]
Enter the number of rows, columns for column: 2 eg.[3,2] :-
[4,5]
Enter the number of rows, columns for column: 3 eg.[3,2] :-
[2,3]
Enter the number of rows, columns for column: 4 eg.[3,2] :-
[3,4]
Enter Number Of Passengers:-
50
Total number of seats: 50 ;Total number of passenger: 50
---------- Seats In Plane Will Look Like ----------
W = Window
M = Middle
A = Aisle
********** Front **********
W M M A A M M M A A M A A M M W
19 25 26 1 2 27 28 29 3 4 30 5 6 31 32 20
21 33 34 7 8 35 36 37 9 10 38 11 12 39 40 22
23 41 42 13 14 43 44 45 15 X X X 16 46 47 24
X X X X 17 48 49 50 18 X X X X X X X