-
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
-
ISP_pc_14y1231b
透過 Socket 擷取影像,並進行 OpenCV MOG2 計算(Capture images through Socket, and OpenCV MOG2 computing)
- 2014-12-31 16:51:58下载
- 积分:1
-
win32expertprogramming--houjie
腾讯公司内部培训资料,侯捷先生现身说法,讲解windows编程奥秘(Tencent internal training materials, Mr. Hou Jie theories to explain the mysteries of windows programming)
- 2011-11-10 22:25:12下载
- 积分:1
-
BmpToAviApp-bin
将批量BMP图片文件转成AVI视频文件文件文件文件文件文件(The volume BMP image file into AVI video fileBMP BMP BMP BMP BMP BMP BMP BMP BMP BMP BMP )
- 2014-06-15 16:04:23下载
- 积分:1
-
ping_src
一个MFC编写的PING程序,无解压密码(MFC prepared a PING procedures, without decompression password)
- 2007-12-29 11:26:00下载
- 积分:1
-
senario
vc程序中建立stk场景,添加卫星,驱动卫星按照vc中指定的姿态角运动(vc programme to set up stk senario ,drive satllite attitude movement)
- 2020-09-21 14:47:52下载
- 积分:1
-
DDOS-scr
提供了各种拒绝服务攻击方式的算法,封装成了各种函数,调用很方便。(Offers a variety of denial of service attack algorithm, the package into various functions, call it convenient.)
- 2011-06-08 16:53:15下载
- 积分:1
-
winsock5
说明: 本人毕业时班里集体做局域网聊天工具,当时我一共收集了6个,这是第五个(I graduated class of collective LAN chat tools to do when I collected a total of 6, this is the fifth)
- 2008-09-26 21:49:40下载
- 积分:1
-
Running-TX433-and-RX433-RF-modules-with-AVR-micro
Running TX433 and RX433 RF modules with AVR microcontrollers
- 2013-07-17 12:42:08下载
- 积分:1
-
DataBinding
DATABINDING 的实例,可以作为参考来做自己的实例 (Examples DATABINDING, you can do your own examples as a reference)
- 2013-11-25 22:23:15下载
- 积分:1