各种犀利的C++ 大大们请进 !! [急]

来源:百度知道 编辑:UC知道 时间:2024/05/24 10:53:03
AIRLINE RESERVATION SYSTEM

A small airline has just purchased acomputer for its new automated reservation system. The president has asked youto program the new system in C. You are to write a program to assign seats oneach flight of the airline’s only plane (capacity: 20 seats). Your programshould display the following menu alternatives:

Please type 1 for “business”

Pleasetype 2 for “economy”

If the person types 1, then your programshould assign a seat in the business class (seats 1-5). If the person types 2,then your program should assign a seat in the economy class (seats 6 –20).
Your program should then print aboarding pass indicating the person’s seat number and whether it is in the businessor economy class of the plane. Use a single-scripted array to represent theseating chart of the plane. Initialize all the elements of the array to 0 toindicate that all seats are empty. As each seat is assigned, set thecorresponding elements of th

和我原来的期末考相同, 当时要求的时间是一个月完成.

除非谁手上正好有全套的程序, 要不没人会花这么多时间给你做的

楼上说的对,做系统很麻烦的。得花很多时间的。