文件名称:means4
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序安排一架飞机上的座位。
假设一架飞机上有20个头等舱座位(共5排,每排4个座位并被一个通道分隔),另有180个经济舱位置(共30排,每排6个座位,被一个通道从中分隔)。
程序需要完成3个功能:增加乘客,显示座位安排情况,退出系统。在增加乘客时,要求输入客舱的等级和结伴旅行的人数(头等舱为1至2人,经济舱为1至3人),此外,还可以输入对座位的要求(头等舱可选靠窗或靠通道),经济舱可选靠窗、中间或靠通道)。然后,为乘客分配合适的位置。如果没有符合要求的座位,则给出相应信息。用户界面可以使文本方式或者图形方式。
-Write a procedural arrangements for an aircraft seat.
Suppose a plane with 20 first class seats (a total of five rows, each row of four seats and is a channel-separated), and another 180 in economy class position (a total of 30 rows, each row of six seats, is a channel from Separated Values).
Program requires completion of three functions: to increase passenger seating arrangements show the situation, exit the system. Increase in passengers, asked to enter the cabin of the grading and the number of people traveling together (first class is 1 to 2 persons, Economy of 1 to 3), in addition, can also be input on the seats of the request (optional window or a first class aisle), Economy optional window, middle or aisle). Then, the allocation of a suitable place for passengers. If you do not meet the requirements of the seat, you are given the appropriate information. User interface allows a text or graphical mode.
假设一架飞机上有20个头等舱座位(共5排,每排4个座位并被一个通道分隔),另有180个经济舱位置(共30排,每排6个座位,被一个通道从中分隔)。
程序需要完成3个功能:增加乘客,显示座位安排情况,退出系统。在增加乘客时,要求输入客舱的等级和结伴旅行的人数(头等舱为1至2人,经济舱为1至3人),此外,还可以输入对座位的要求(头等舱可选靠窗或靠通道),经济舱可选靠窗、中间或靠通道)。然后,为乘客分配合适的位置。如果没有符合要求的座位,则给出相应信息。用户界面可以使文本方式或者图形方式。
-Write a procedural arrangements for an aircraft seat.
Suppose a plane with 20 first class seats (a total of five rows, each row of four seats and is a channel-separated), and another 180 in economy class position (a total of 30 rows, each row of six seats, is a channel from Separated Values).
Program requires completion of three functions: to increase passenger seating arrangements show the situation, exit the system. Increase in passengers, asked to enter the cabin of the grading and the number of people traveling together (first class is 1 to 2 persons, Economy of 1 to 3), in addition, can also be input on the seats of the request (optional window or a first class aisle), Economy optional window, middle or aisle). Then, the allocation of a suitable place for passengers. If you do not meet the requirements of the seat, you are given the appropriate information. User interface allows a text or graphical mode.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
means4.txt