-
一个飞机票订票和退票系统。假设某民航机场有m个航次的班机,每个航次都只到达一个目的地,试为该机场售票处设计一个自动订票和退票系统。
该系统需要实现以...
一个飞机票订票和退票系统。假设某民航机场有m个航次的班机,每个航次都只到达一个目的地,试为该机场售票处设计一个自动订票和退票系统。
该系统需要实现以下功能:
(1) 订票:若该航次余票数大于等于客订票数,则在该航次的乘客表(按乘客姓氏字母词典顺序排列)中,插入订票乘客的信息项,并修改该航次有关数据,否则给出相应提示信息;
(2) 退票:若退票数小于该乘客原订票数,则在相应的乘客表中找到该乘客项,修改该航次及乘客表中有关数据。当由于退票使得该乘客的订票数为零时,要从乘客表中撤销该乘客项;否则给出相应的提示信息;
(3) 将某航次的余票数恢复初值为该航次的最大客票数;
(4) 显示:显示该机场各航次班机的售票情况。-Booking air tickets and a refund system. Assuming there are m a civil airport voyage of the flights, each voyage only to reach a destination, the trial design for an automated airport ticket booking and refund system.
The system needs to achieve the following functions:
(1) booking: If the voyage than the number of votes greater than or equal to the number of passengers booking, the passenger in the voyage List (alphabetical by passengers dictionary order), insert the booking information of passengers, and modify the data of the voyage Otherwise, the corresponding message
(2) Refund: If the refund is less than the number of votes of the original passeng
- 2022-08-03 17:49:14下载
- 积分:1
-
存取注册表的类,有一个实例
存取注册表的类,有一个实例-access to the registry of categories, a case
- 2023-02-23 21:30:04下载
- 积分:1
-
内容管理服务…
contents management service...
- 2022-11-16 12:00:03下载
- 积分:1
-
用vc++开发的原创 聊天室程序,实现了使用vc进行通讯聊天功能...
用vc++开发的原创 聊天室程序,实现了使用vc进行通讯聊天功能-Vc++ development with the original chat room program, implemented using the chat feature to communicate vc
- 2022-03-18 05:30:55下载
- 积分:1
-
designed to be used more strings than specified by the string, will be less than...
设计为使用的字符串比指定的字符串多,将比打印在备忘录中的搜索结果少
- 2022-03-25 10:14:04下载
- 积分:1
-
Multi
遗传算法中多点交叉算法来优化最小值函数所对应的解--变异过程-Multi-point genetic algorithm to optimize the cross-algorithm corresponding to the minimum function of the solution- the process variation
- 2022-11-11 01:40:03下载
- 积分:1
-
背单词的小程序,界面不错
背单词的小程序,界面不错-back word of small procedures, good interface
- 2022-05-08 22:41:44下载
- 积分:1
-
Source code can be compiled as part of the Stone Age
能编译的石器时代一部分源码Source code can be compiled as part of the Stone Age-Source code can be compiled as part of the Stone Age
- 2022-07-22 12:18:40下载
- 积分:1
-
nt下实现ndis的源代码
nt下实现ndis的源代码-nt under NDIS source code
- 2022-12-12 09:50:03下载
- 积分:1
-
服从正态分布序列,一个很小的一个算法,需要具体修改才能使用...
服从正态分布序列,一个很小的一个算法,需要具体修改才能使用-Obey normal distribution sequence, an algorithm for a small, specific changes need to use
- 2023-02-16 06:10:04下载
- 积分:1