Devam Ediyor

airline reservation system

Develop a software using C for the case given below.

Airline Reservation Systems:

A small airline has just purchased a computer for its new automated reservation system. The owner has asked to program the new system in C. You are to write a program to assign seats on each fligh of the airlines only place ( capacity : 20 seats ). Your program should display the following menu alternatives.

Please type 1 for business class

please type 2 for economy class

If person types 1, the program should assing a seat in business class ( seat 1 to 5). if the person types 2, then it should assign economy class ( seat 6 to 20). Your program then should bring a boarding pass indicating the persons' seat number and whether it is in the business or economy class of the place . use a single-scripted array to represent the seating chart of plane. Initialize all the elements of array to 0 to indicate that all seats are empty. As each seat is assigned, set the corresponding elements of array to 1 to indicate that seat is no longer available. program should never assign a seat which is already assigned. When the business class in full, your program should ask the person if it is acceptable to be placed in economy class ( and vice versa). if yes, then make the appropriate seat assignment. If no, then print the message " next flight leaves in 3 hours "

Basic Requirements :

assign a seat either in the business or economy class.

display a boarding pass

display seating chart with indication of assigned or not assigned.

validation - no seat that has been assigned can be re-assigned

re-assign seat if the class is full

You may design the system in any way you feel that meets systems requirements. you may include menus that you feel are relevant to navigate around the system. Eventually there should be an end to the system. Use quit to exit the system.

You may use structures, arrays, loops, and decision structures in your program. you may include any extra feature eg. sorting the boarding passes by name, which you may feel relevant and that adds value to the system

Bids should be very low. Project is very basic one.

Beceriler: C Programlama

Daha fazlasını görün: airline reservation system project, project airline reservation system, program airline reservation system, airline reservation program, airlines reservation system project, airline reservation systems, small airline purchased computer, airline reservation project, airline reservation system array, seat reservation system program, small airline, program airline reservation, program airline, write program airline, program seat reservation, airlines array, write seating reservation program, airlines reservation program, airline reservation system program, reservation system project, use case types, types sorting programming, types computer programming, systems programming, single system design

İşveren Hakkında:
( 82 değerlendirme ) karachi, Pakistan

Proje NO: #698669

1 freelancer bu iş için ortalamada 30$ teklif veriyor

PedroMC

Greetings. Accepting project as discussed. Thanks.

1 gün içinde 30$ USD
(12 Değerlendirme)
3.2