-
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
-
SETFTIME
我在上个世纪写的一个批量修改文件时间属性的精致实用小程序,在Windows下可用(开发环境:DOS,BC3.1)。
(I write in the last century, a batch of time to modify the file property of the exquisite small practical procedures can be used under Windows [Development Environment: DOS, BC3.1].)
- 2021-03-01 15:39:34下载
- 积分:1
-
252616
通信原理实验指导书,包括全部通信原理章节,原理分析,硬件解释,编程指导等(The communication principle experiment instruction book, including all the communication principle chapter, the principle analysis, the hardware explanation, the programming instruction and so on)
- 2019-01-05 07:39:21下载
- 积分:1
-
ATM
编写一个控制台程序,模拟在ATM机的存款和取款过程,当输入给定的卡号和密码(初始卡号和密码到数据文件里查看)时,系统能登录ATM系统,根据用户的身份不同显示不同的程序界面;取款
每次取款金额只能为100的倍数,总额不超过2000元,不允许透支。且取款之后,要记录取款的金额和时间。
存款
每次存款金额只能为100的倍数,总额不超过2000元。
修改密码
新密码长度不小于6位,不允许出现6位完全相同的情况,只有旧密码正确,新密码符合要求,且两次输入相同的情况下才可以成功修改密码。(Write a console program to simulate the ATM deposits and withdrawals process, when you enter a given number and password (the initial number and password to the data file view), the system can log in ATM systems, according to the user' s identity different display different The program interface withdrawal amount each withdrawal can only be a multiple of 100, the total does not exceed 2,000 yuan, does not allow overdrafts. And withdrawals after the withdrawal of the amount to be recorded and time. Deposit Amount per Deposit only a multiple of 100, totaling no more than 2,000 yuan. Change Password New Password length not less than six, allowed six identical situation, only the old password is correct, the new password meets the requirements, and enter the same case twice before they can successfully change the password.)
- 2013-10-14 22:50:17下载
- 积分:1
-
674569
说明: PPC开发的代码, 希望我们大家共同努力共同分享,请大家多多指教,互相帮助(PPC development code, I hope we all work together to share, please advise and help each othe)
- 2019-01-04 05:55:53下载
- 积分:1
-
DMC[1]
说明: 广义最小方差控制,较为完整,通过仿真亲测实用性较高,不需要实际数据,仅仅需要模型。(The generalized minimum variance control is more complete. It is more practical to test by simulation. It does not need the actual data, only needs the model.)
- 2020-09-22 10:27:50下载
- 积分:1
-
Camera_EXG50_GigE
Initialise and acquisition of Camera EXG50 GigE
- 2011-12-20 17:32:53下载
- 积分:1
-
ScanEmmg
delphi写的控制台定时程序,内容很丰富。定时扫描进程,如果有某一进程,就杀掉。非常不错。总大小才20多k。特此上传。呵呵(delphi write console timer program, the content is very rich. Scheduled scanning process, if there is a process, it is killed. Very good. . Hereby upload. Oh)
- 2013-09-02 15:52:42下载
- 积分:1
-
49808171
用冲激响应不变法和双线性变换法设计IIR的MATLAB程序(Design of MATLAB Program for IIR by Impulse response Invariant method and Bilinear Transformation method)
- 2019-01-05 03:30:43下载
- 积分:1
-
minroob
console application mineswiper
- 2013-03-04 06:01:55下载
- 积分:1