-
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
-
实现摄像机抓拍 获取车牌分析数据
iceDemo 64
java调用巨龙dll 实现摄像机抓拍 获取车牌分析数据(java demo contains java sdk dll jna and so on)
- 2018-06-14 09:00:07下载
- 积分:1
-
OOAD-PROJECT-master
java project for students
- 2017-11-11 03:32:07下载
- 积分:1
-
钻石矿工
算法设计中的钻石矿工问题在一座金字塔每块石头上都镶有一块钻石从金字塔的顶端向下收集钻石尽可能收集价值高的钻石,每层每次只能从一块砖斜向左下或斜向右下走到另一块砖上。设计算法求出获取的钻石最大价值及路径。(动态规划)(The problem of diamond miner in algorithm design is set up on every stone in Pyramid. A diamond is collected from the top of Pyramid. Diamond is collected as high as possible. Every layer can only lean from one brick to the left or to the right to go to the next brick at a time. The design algorithm is used to find the maximum value and path of the obtained diamond. (dynamic programming))
- 2020-10-21 08:37:24下载
- 积分:1
-
java+mysql 图书管理系统(源码+数据库)
java+mysql 图书管理系统(源码+数据库)
- 2021-05-06下载
- 积分:1
-
aclock_src
说明: 一个日历程序用MFC写的。 一个日历程序用MFC写的。 一个日历程序用MFC写的。(A calendar program written using MFC. A calendar program written using MFC. A calendar program written using MFC.)
- 2008-10-01 22:39:46下载
- 积分:1
-
thedichotomyofequationroots
用二分法实现求方程根的,在c++环境下实现的。(Achieved with the dichotomy of equation roots, and in c++ environment achievable.)
- 2009-12-24 21:41:34下载
- 积分:1
-
des-java
java GUI examples with easy coding i hope you too find it usefull
- 2010-02-06 19:31:55下载
- 积分:1
-
lk1
说明: java的swing的详细解释,很有用的,希望对大家有帮助。(java detailed explanation of the swing, very useful, I hope all of you help.)
- 2008-10-29 13:48:17下载
- 积分:1
-
informationSortSysterm
文章信息发布系统.简单的文章分类和浏览的功能。(it s just a simple wesite based an C#)
- 2013-04-24 12:01:57下载
- 积分:1