-
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
-
CPP
几个用C++编写的关于GPS、惯性导航和卡尔曼滤波的程序(Several written in c++ about GPS, inertial navigation and kalman filtering program)
- 2015-06-04 08:48:42下载
- 积分:1
-
45830343
说明: 一个P2P下载软件源代码,用vc编译
(a peer-to-peer software to download the source code with compiler vc)
- 2006-02-27 15:16:47下载
- 积分:1
-
89c2051模拟spi驱动nrf905
单片机89c2051通过模拟spi口驱动nrf905,与nrf905进行联系,本程序详细描述(MCU 89C2051 drives nRF905 through analog SPI port and contacts nrf905. This program is described in detail)
- 2019-05-10 23:07:40下载
- 积分:1
-
plmgj
时间二阶空间八阶弹性波正演plm边界吸收(Eight-order elastic second-order space time wave absorption boundary forward plm)
- 2010-07-27 00:09:38下载
- 积分:1
-
eBilling-Source-Code
e billing system written in visual basic
- 2015-11-05 23:41:39下载
- 积分:1
-
OPC-Client
OPC 客户端程序 VB编写与西门子机床通信(OPC client program)
- 2014-07-20 23:14:51下载
- 积分:1
-
又个用Winsock控件发送Email的例子
用WINSOCK控件实现的发送电子邮件的例子(using Winsock Control to achieve the email example)
- 2005-05-14 17:26:19下载
- 积分:1
-
97663954paike
VB排课系统代码
能够手动加自动排课(VB Course Scheduling System code manually add Automatic Timetable)
- 2013-04-13 18:46:42下载
- 积分:1
-
CHAPTER-2
21天学通 Visual C++,第2章(21days study Visual C++, chapter 2)
- 2013-12-21 16:17:59下载
- 积分:1