-
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
-
angel123
霹雳远控源码,完美编译,无错误,上线正常。好东西值得收藏,支持WIN7。(Thunderbolt source remote control, perfect compiler, error-free, normal on-line. The good thing worth collecting support WIN7.)
- 2012-04-03 20:55:47下载
- 积分:1
-
24K-pony-remote-control-source
24k小马远控,绝对无后门,抓鸡必备利器!没做免杀,养鸡专业户,功能也很多(24K pony remote control, absolutely no back door, grasps the chicken sharp weapon! Do not kill, chicken farmer, the function is also a lot of)
- 2015-01-24 23:21:55下载
- 积分:1
-
gh0st3.6
gh0st3.6个人修改版远程控制源码,功能齐全,无错编译。(gh0st3.6 personally modified version of the remote control source, fully functional, error-free compile.)
- 2012-02-07 18:59:22下载
- 积分:1
-
NovatelRange
上传程序用于解析Novatel输出range 信息,解析结果已经验证。(The upload process is used to resolve the Novatel output range information, analytical results have been verified.)
- 2013-05-17 16:24:27下载
- 积分:1
-
medo
设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。 编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中(Let X [0: n- 1] and Y [0: n- 1] for the two arrays, each array containing the n number has been sorted. 2n X and Y to identify the number of digits. programming tasks using the divide and conquer strategy try to design an O (log n) time algorithm to calculate this median number 2n. Data input by the input data provided input.txt file. The first line in the file has a positive integer n (n < = 200), that there are n numbers of each array. The next two lines are the X, Y array elements. The end result is output program runs, the calculated median output to file output.txt)
- 2021-03-22 16:29:16下载
- 积分:1
-
ghOst-Remote-1.0
ghOst远控1.0源码,相比于3.6更稳定,视频超快。(ghOst Remote Control 1.0 source code, compared to 3.6 more stable, ultra-fast video.)
- 2020-07-30 14:38:37下载
- 积分:1
-
yuankong
上万元的远控源码上万元的远控源码,超级给力,黑客必备!!(Million yuan of remote control remote control source code, super awesome, hackers must!!
)
- 2014-06-25 11:41:01下载
- 积分:1
-
yangjiyuank
养鸡远控源码 仅下载功能 修复了 大量 BUG 基于ghost 3.6 内核 修改的噢 稳定性 我就不说了吧 (Chicken remote control source download function only fixes a lot of bugs based the ghost 3.6 kernel modifications Oh stability I will not say it)
- 2013-01-18 17:51:51下载
- 积分:1
-
extroverted-Tamrac-version
以前没外放的天域版本远控. 特别稀少. (Not previously extroverted Tamrac version remote control. Particularly scarce.)
- 2013-09-09 02:23:06下载
- 积分:1