please help..

a small airline wants you to create an automated reservation system.the system has to assign seats on each flight of the airline's only plane(capacity:10 seats).your program should display the ff. alternative choices: PLEASE TYPE 1 FOR "FIRST CLASS" \n PLEASE TYPE 2 FOR "ECONOMY".\n\n\n if the person types 1,then it should assigned seats in the first class section(seat 1 to 5). If the person types 2, then it should assign a seat in economy section(6 to 10). initialize all seats to zero indicating that the seats are empty.As each seat is assigned, set the corresponding seat to 1 indicating that the seat is taken.When the first class or economy is full,it should ask the person if he/she wants to transferred to economy or first class section. If yes, then make a necessary seat assignment. If no, then print the message "next flight leaves in 2 hrs".

can u give me the codes... :(

Recommended Answers

All 3 Replies

please help..
can u give me the codes... :(

Could you give money?

can u give me the codes... :(

This assignment has been discussed before

commented: OMG, it's contagious! +19
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.