-
B06040324_B2
模拟电信计费系统的设计与实现
要求:(1) 计费功能。根据存放在源数据文件中的通话记录和长途费率文件对每一条通话记录计算其通话费用,并将结果保存在费用文件中。其中:
通话费的计算方法如下:
通话费=长途电话费+本地电话费
长途电话费=费率(元/分钟)×通话时长(分钟)
(通话时长不满1分钟的按1分钟计算)
本地电话费为:3分钟以内0.5元,以后每3分钟递增0.2元。
(2) 话费查询。输入一个电话号码,从费用文件中统计该电话号码的所有本地话费、长途话费,并从用户文件中查找其用户名,最后在屏幕上显示:
用户名 电话号码 本地话费 长途话费 话费总计
(3) 话单查询。输入一个电话号码,查询并在屏幕显示该用户的所有通话记录,格式为:
用户名 主叫电话号码 被叫电话号码 通话时长
(Design and implementation of simulation of telecommunication billing system
Requirements: (1) the charging function. According to the calculation of the call charges stored in the source data file in the call records and the long rate documents for each call record, and save the results in cost file. Among them:
The following conversation method to calculate the fee:
Long distance telephone calls =+ local telephone fee
Long distance telephone fee = rate (yuan/minute)* call time (minutes)
(call time less than 1 minutes to 1 minutes)
Local call: 3 minutes 0.5 yuan, increasing 0.2 yuan every 3 minutes later.
(2) calls inquiries. Enter a phone number, all local calls, long-distance calls statistics the phone number from the cost in the file, and find the user name from user file, and finally displayed on the screen:
The user name phone number local calls long distance charges charges totaling
(3) if a single query. Enter a phone number, query and display all the call records of th)
- 2013-09-25 05:53:29下载
- 积分:1
-
59_s1
说明: 对采集图像的处理有很好的帮助,能在一定程度上加深地VC++的学习.(Collected images have a good deal of help to a certain extent, to deepen VC++ Learning.)
- 2008-10-17 14:51:58下载
- 积分:1
-
dhgl
电费管理系统比较社和初学者!对实际应用,帮助比较大!(Electricity management system is relatively clubs and beginners! For practical applications, to help big!)
- 2013-12-08 21:38:30下载
- 积分:1
-
220-classic-C-program-source-code
本文件夹中含有220个经典C程序源码,是学习C语言难得的好资料!(220 classic C program source code)
- 2013-12-28 00:00:05下载
- 积分:1
-
Tracking-Skin-colored-Objects
We present a methodology for tracking multiple skin-colored objects in a
monocular image sequence. The proposed approach encompasses a collection of
techniques that allow the modeling, detection and temporal association of skin-
colored objects across image sequences.
- 2014-02-27 09:33:24下载
- 积分:1
-
yuanmaa
说明: 对一副图像的直方图进行均衡化,并在客户区输出(histogram equalization and show out)
- 2010-03-31 14:27:45下载
- 积分:1
-
propertysheet
说明: 包括两个类,能够进行类似属性表 属性页的编程,但功能更多(Includes two classes, a similar property to the table properties page programming, but more features)
- 2010-05-04 18:41:23下载
- 积分:1
-
IEC104_Tool
104规约调试工具,模拟104主控站,方便104规约的理解(104 Statute of the debugging tools, analog 104 master station to facilitate the understanding of the Statute of 104)
- 2012-07-02 21:33:55下载
- 积分:1
-
communication
使用VC.NET编写串口通信程序,是很好的串口调试软件(Use VC.NET write serial communication program is a very good serial debugging software)
- 2020-11-22 13:59:35下载
- 积分:1
-
0087654
给工具栏按钮设置下拉箭头,VC++编程精选学习源码,很好的参考资料。(To set the drop-down arrow button on the toolbar, select learning VC++ programming source code, a good reference.)
- 2013-11-19 10:53:26下载
- 积分:1