Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
please, i need help to solve this
please can you help me out with this challenge. i have been battling with it for some days now and my turn in date is fast approaching. the qstn is as follows;
you are required to write a program as for Airline Reservation System, you are tp write a program to assign seats on each flight of the airline's only plane(capacity;10 seats)
your program should display the following menu;
please type 1 for "smoking"
please type 2 for "non-smoking"
if the person type 1, your program should assign a seat in smoking section(seat 1-5)
if the person type 2, your program should assign seat in non-smoking section(seat 6-10)
your program should then print a boarding pass indicating the person's seat number and whether it is in smoking or non-smoking section of the plane.
your should never assign a seat that has already been assigned, when the smoking section is full, your program should ask the person if it is acceptable to be placed in non-smoking section and vice versa. otherwise print a message "Next flight leaves in the next 3 hours".
write a program to transpose a 4X4 matrix i.e
1 2 3 4 1 5 9 13
5 6 7 8 becomes 2 6 10 14
9 10 11 12 3 7 1 15
13 14 15 16 4 8 12 16