-
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
-
ESP8266+贝壳物联+天猫精灵
说明: 用Esp8266与贝壳物联链接并控制,可以加入天猫精灵(Using esp8266 to link with shell and control)
- 2021-01-11 15:48:50下载
- 积分:1
-
dealNonConvex
凹多边形,适合初学者,讲解很详细,大家互相交流。(Shape, is suitable for beginners, the explanation is very detailed, we communicate with each other.
)
- 2012-05-08 23:52:54下载
- 积分:1
-
FTP下载文件实例
FTP下载文件实例
- 2013-01-23下载
- 积分:1
-
基于ArcEngine与C#完成的影像处理系统
基于ArcEngine与C#完成的影像处理系统,可以连接基础数据库如SQL SERVER,提供基础的ArcGIS功能,可显示各种类型的影像并查看他们的属性信息,ARCGIS基本的操作该系统均可完成。
- 2023-02-10 07:45:04下载
- 积分:1
-
The-PC-mouse-code
对想了解pc控制鼠标指针的源码的人有帮助,包括windows调用了那些函数,用了那些库文件等。(Would like to know the source pc control the mouse pointer to help people, including those functions called windows, with those library files.)
- 2013-12-08 12:15:20下载
- 积分:1
-
编辑距离问题
说明: 设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括:1)删除一个字符;2)插入一个字符;3)将一个字符改为另一个字符。将字符串A变换为字符串B所用的最少字符操作称为字符串A到B的编辑距离,记为d(A,B)(Let A and B be two strings. String A is converted to string B with the least number of character operations. The character operations mentioned here include: 1) deleting a character; 2) inserting a character; 3) changing one character to another character. The minimum character operation used to convert string A to string B is called the editing distance from string A to B, which is denoted D D as D (A, B).)
- 2019-05-29 15:41:34下载
- 积分:1
-
FrameTransfer
这是我的一个坐标转换的程序,是坐标在地固系和惯性系之间进行转换。希望对大家有用(err)
- 2008-06-17 19:55:43下载
- 积分:1
-
FFT4
计算按频率抽取的基4快速傅里叶变换算法,与基2FFT相比,基4FFT的乘法量约减少25 。(Calculating frequency taken by fast Fourier transform algorithm base 4, compared with the base 2FFT the base 4FFT multiplication about 25 less.)
- 2020-11-22 11:29:35下载
- 积分:1
-
BMP180
基于STM32F10X的气压传感器(bmp180)程序,串口输出,内含bmp180手册。(Based STM32F10X pressure sensor (bmp180) program, serial output, containing bmp180 manual.)
- 2020-12-15 16:49:14下载
- 积分:1