basic airline reservation system - in C - Repost

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: Algoritma, C Programlama, C# Programlama

Daha fazlasını görün: airline reservation system using arrays, airline program, airline seating program, small airline purchased computer, airline reservation program, airline reservation project, single system design, set in c, it system or software develop, print menus, reservation system, basic program in c++, assing, airline reservation system, flight program, business small assignment, array validation, validation array, print repost, airline reservation system person types, small program assignment, small airline reservation program, menu airline reservation project, business flight case, airline reservation systems

İşveren Hakkında:
( 0 değerlendirme ) United States

Proje NO: #4437767

1 freelancer is bidding on average $100 for this job


Hired by the Employer

1 gün içinde 100$ USD
(72 Değerlendirme)