Answer to Question #10155 in Action Script | Flash | Flex | ColdFusion for Fayie

Question #10155
You are the developer for, a company which charters a light aircraft to Capetown from Johannesburg. Write a program to assign seats on each flight of the airline's only plane (capacity: 50 seats (10 rows (A-J) of 5 seats each)). The program should display the following menu of alternatives: Please type 1 for "First class" and Please type 2 for "Economy". If the person types 1 your program should ask for the person’s name and assign a seat in the first class section (rows 1-3 (15 seats)). If the person types 2, the program should ask for the person’s name and assign a seat in economy section (rows 4-10 (35 seats)). Menu Option 3 displays the seating allocation. The program should print a boarding pass indicating the person’s name and seat number and weather it is in the first class or economy section of the plane along with the price (R10 000 for first class and R5 000 for economy). Isle seats (A-J seat number 2 and 3 are subject to a 10% discount) Use a 2-Dimensional array to represent the seat
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog