-
一个飞机票订票和退票系统。假设某民航机场有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
-
在CE下实现ndis的源代码
在CE下实现ndis的源代码-under the CE source code NDIS
- 2022-03-02 23:33:35下载
- 积分:1
-
图形学基础
计算机图形学基础,采用C++的MFC框架。实现网格绘制,绘制直线、圆、以及二维图形等。并且包含基本图像的变换。直线的算法有DDA、中点画线法、Bresenham等常见的实现算法。
- 2023-02-03 06:10:04下载
- 积分:1
-
这是一个flash射击游戏,其中涉及了而鼠标跟随,事件触发,随机算等等知识。...
这是一个flash射击游戏,其中涉及了而鼠标跟随,事件触发,随机算等等知识。-This is a flash shooting game, which involves a mouse and follow the event trigger, random operator knowledge and so on.
- 2022-04-29 12:51:10下载
- 积分:1
-
二叉树的所有非递归算法
此程序包含了所有二叉树的非递归算法算法,前序、中序、后续。并附有大量的注释,有助于你对二叉树的理解
- 2022-09-18 21:25:04下载
- 积分:1
-
一个可以用来是设计人体模型的源代码。
一个可以用来是设计人体模型的源代码。-Code for designing the human model.
- 2023-01-18 03:10:03下载
- 积分:1
-
pchdd support winxp
pchdd support winxp
- 2022-07-14 07:11:55下载
- 积分:1
-
文件异常处理的一个例子<2030kb>
文件异常处理的一个例子-document examples of a lt; 2030kbgt;
- 2023-03-22 10:40:04下载
- 积分:1
-
不错的C++ 测试工具,使用此代码可以使你可以更快更准确测试代码...
不错的C++ 测试工具,使用此代码可以使你可以更快更准确测试代码-Good C++ Test tool, use this code you can enable faster and more accurate test code
- 2022-04-08 05:49:45下载
- 积分:1
-
坦克游戏
C#编写的坦克大战,原型阶段,可学些基础原理,在此基础上进一步优化升级。
- 2022-03-20 01:52:15下载
- 积分:1