-
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
-
Videoplayer
VC 编写的播放器,功能已经很完善。适合初学者参考(VC prepared player, features have been very perfect. Suitable reference for beginners)
- 2009-04-02 18:23:50下载
- 积分:1
-
Visual C++ 工程应用与项目开发实践
说明: 一个Visual C++ 工程应用与项目开发实践中的图形图象编程例子!供大家参考,有什么不正之处望大家不吝赐教!(a Visual C application and project development in the practice of graphic images Programming example! For your reference, what is unjust Office, we hope the wing!)
- 2005-12-24 15:50:10下载
- 积分:1
-
12084247tao2
基于ICMP协议的ping程序设计实验基于ICMP协议的ping程序设计实验(Based on the ICMP protocol ping program designed experimental program designed experiments based on the ICMP protocol ping)
- 2012-10-29 10:54:54下载
- 积分:1
-
rs232
基于labwindows/cvi的串口通信的实现,希望对有需要的朋友提高参考(Based on labwindows/cvi Serial Communication, in the hope that there is a need to increase the references friends)
- 2009-04-19 14:22:41下载
- 积分:1
-
Music
音乐播放器,可以从系统中选择想要听的歌曲,导入到该播放器中,播放器有暂停和开始选项。(Music player, you can choose from the system you want to listen to the songs into the player, the player with pause and start options.)
- 2013-11-16 20:11:53下载
- 积分:1
-
1231
实现FTP多线程下载上传,同时可以方便实现与本机FTP服务器的连接(Achieve multi-threaded FTP download upload, and can easily be achieved with the local FTP server)
- 2013-06-13 18:52:09下载
- 积分:1
-
TeeChart8
Teechart8汉化版,汉化的Teechart8控件,regsvr32后就可以在vc环境下插入。(Teechart8 finished version, finished the Teechart8 control, regsvr32 after the environment can be inserted in the vc.)
- 2010-12-04 10:37:25下载
- 积分:1
-
GetHardDiskId
获取硬盘序列号的动态库与调用源码!
可以获得所有硬盘的序列号,兼容2000/XP/2003操作系统!(Get hard drive serial number of the dynamic library and call the source! Access to all the hard drive serial number, compatible with 2000/XP/2003 operating system!)
- 2020-09-05 16:48:05下载
- 积分:1
-
NRF24L01-sendtemperature
nrf24l01 ds18b20温度发送程序(nrf24l01 ds18b20 temperature sender)
- 2011-10-29 14:22:03下载
- 积分:1