-
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
-
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
-
template
template 模版函数 函数模版 深入了解(template template template-depth understanding of the function function)
- 2013-07-15 17:33:53下载
- 积分:1
-
Desktop
调度问题的回溯算法,算法中的经典问题。问题描述:假设有n个任务由k个可并行工作的机器完成。完成任务i需要的时间为ti。试设计一个算法找出完成这n个任务的最佳调度,使得完成全部任务的时间最早。(Scheduling problem backtracking algorithm is the classic problem. Problem Description: Suppose there are n-task by the k-parallel machine can be completed. The time required to complete the task i is ti. Try to design an algorithm to find completing these n-best task scheduling, making the earliest time to complete all tasks.)
- 2010-02-19 23:31:11下载
- 积分:1
-
GUITelnet
图形界面的远程登陆程序源代码(graphical interface remote login source code)
- 2004-09-29 07:22:28下载
- 积分:1
-
embedded-server-EA02_V2
嵌入式Web服务器(以太网络远程控制开关)EA02使用说明书(Embedded server,remote control switch)
- 2015-06-08 18:23:27下载
- 积分:1
-
ghost4.0vs2010
ghost 4.0远控源码 vs2010可编译(the ghost 4.0 remote control source vs2010 can be compiled)
- 2012-11-12 21:55:39下载
- 积分:1
-
hehegu
红河谷邀请码生成器(2010年7月28日测试通过)(hong he gu yao qing ma sheng cheng qi)
- 2020-06-25 21:40:02下载
- 积分:1
-
Csendmail
这是一个实现用C语言发送电子邮件的小程序,可以把截获的键盘记录发送给监控的主机。(This is a realization of C language small program to send email, you can send intercepted keyloggers monitored host.)
- 2013-07-28 19:00:36下载
- 积分:1
-
Byshell1
著名的国外远控SHELL 价值10万 现在传上来给大家分享(Well-known abroad, far from controlling the value of SHELL Chuan 100000 now up to everyone to share)
- 2009-02-28 00:25:42下载
- 积分:1