-
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
-
MATLAB7.0vc++andmatlabprogram
《精通matlab7.0混合编程》的例子程序,其中涉及MATLAB程序和VC++程序,其中大部分为改书所附光盘。()
- 2007-08-12 19:15:56下载
- 积分:1
-
clock
数字钟 ATMEGA16 定时 跑秒 倒计时(Digital clock ATMEGA16 timing ran second countdown)
- 2012-09-25 16:28:14下载
- 积分:1
-
Interpolation-Technique-for-WZVC
The manuscript describes performance comparison of nearest-neighbor interpolation and bilinear to reduce the complexity of decoder WZVC.
- 2013-10-03 21:35:41下载
- 积分:1
-
desquirr
decompiler, ida的插件代码,可以反编译asm(Decompiler, Ida plug-in code, the compiler can be anti-asm)
- 2006-06-26 14:22:06下载
- 积分:1
-
vc++专家门诊
说明: vc++专家门诊,很实用,适于初学者(vc++ expert,very practical,be fit for beginner!)
- 2005-10-10 11:41:40下载
- 积分:1
-
oneOdbcExcel
说明: 你需要生成一个用excel处理的报表吗?
是的,这个程序就是完成这一功能,生成的excel文件报表,当然可以用微软的excel打开,这样你的程序是不是会更能让人接受呢?(you need to generate an excel with the statements? Yes, this procedure is to complete this function, generating excel paper statements, of course, you can use Microsoft s Excel is opened, this is the procedure you will be more than acceptable to people?)
- 2006-03-26 11:50:09下载
- 积分:1
-
ThreadTest
多线程,创建子线程,包括信号量、事件、互斥等线程资源保护机制。(Multi-threaded, create sub-threads, including semaphores, events, mutexes, thread and other resource protection mechanism.)
- 2013-12-11 15:52:42下载
- 积分:1
-
Wmv
说明: VC++ WMV 视频文件帧读取,需要用到WMSDK开发包。(VC++ WMV video files frame read, need to use WMSDK Development Kit.)
- 2011-03-21 23:35:48下载
- 积分:1
-
shiper
Воронежский гос университет, задача по сям
- 2009-10-11 01:30:49下载
- 积分:1