-
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
-
9_2
VC中容器和游标的使用,一个简单的例子。。(VC cursor in the containers and the use of a simple example. .)
- 2009-05-31 23:35:52下载
- 积分:1
-
MY_YangHuiTriangle
利用二维数组创建杨辉三角形,基于vc++程序设计(Creating a Yang Hui triangle by using a two-dimensional array .Programming based on vc++)
- 2018-01-03 22:40:15下载
- 积分:1
-
rfidreader
rfid实例阅读程序,可实现超高频,高频,低频卡的读写(
rfid实例阅读程序,可实现超高频,高频,低频卡的读写
RFID instance reading program, you can achieve ultra high frequency, high frequency, low frequency card read and write)
- 2017-05-25 01:32:50下载
- 积分:1
-
aPLib-1.01
this is the library to compress and decompress any file. I found it on Net
- 2010-09-10 19:25:46下载
- 积分:1
-
KTL
说明: 从专业设备上读取数据图像,并对其进行分析的代码。(from professional equipment to read data from images and analysis of its code.)
- 2005-09-17 11:17:51下载
- 积分:1
-
yczmdemo
说明: 远程桌面显示范例----想学习的人下载看看吧,还不错(Remote Desktop shows an example of people who want to learn---- download to see it, but also good)
- 2008-10-07 09:41:30下载
- 积分:1
-
VNC_clientand_server
vnc 源码, 非常不错的远程控制软件.(vnc remote control pc)
- 2020-12-04 17:09:25下载
- 积分:1
-
Queue
队列的顺序定义,队列的调用算法等,队列的模板类及其实现(Defined in the order queue, queue calls algorithm, queue template class and its implementation)
- 2013-07-17 15:42:54下载
- 积分:1
-
PCRat
呵呵,一款功能非常强大的远控软件,可以非常好的学习vc++(Oh, a very powerful remote control software, can be very good to learn vc++)
- 2011-08-20 16:45:03下载
- 积分:1