文件名称:B06040324_B2
-
所属分类:
- 标签属性:
- 上传时间:2013-09-25
-
文件大小:277.1kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
模拟电信计费系统的设计与实现
要求:(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
要求:(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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
B06040324_B2/adf
B06040324_B2/adfa
B06040324_B2/B06040324_B2.dsp
B06040324_B2/B06040324_B2.dsw
B06040324_B2/B06040324_B2.ncb
B06040324_B2/B06040324_B2.opt
B06040324_B2/B06040324_B2.plg
B06040324_B2/CallList.cpp
B06040324_B2/CallList.h
B06040324_B2/Charge.cpp
B06040324_B2/Charge.h
B06040324_B2/Consumer.cpp
B06040324_B2/Consumer.h
B06040324_B2/Debug/B06040324_B2.exe
B06040324_B2/Debug/B06040324_B2.ilk
B06040324_B2/Debug/B06040324_B2.pdb
B06040324_B2/Debug/CallList.obj
B06040324_B2/Debug/Charge.obj
B06040324_B2/Debug/Consumer.obj
B06040324_B2/Debug/Rate.obj
B06040324_B2/Debug/TeleExpSystem.obj
B06040324_B2/Debug/vc60.idb
B06040324_B2/Debug/vc60.pdb
B06040324_B2/dfaafads
B06040324_B2/hl.dat
B06040324_B2/Rate.cpp
B06040324_B2/Rate.h
B06040324_B2/TeleExpSystem.cpp
B06040324_B2/使用说明.txt
B06040324_B2/测试文件/fl.dat
B06040324_B2/测试文件/hd.dat
B06040324_B2/测试文件/yh.dat
B06040324_B2/Debug
B06040324_B2/测试文件
B06040324_B2
B06040324_B2/adfa
B06040324_B2/B06040324_B2.dsp
B06040324_B2/B06040324_B2.dsw
B06040324_B2/B06040324_B2.ncb
B06040324_B2/B06040324_B2.opt
B06040324_B2/B06040324_B2.plg
B06040324_B2/CallList.cpp
B06040324_B2/CallList.h
B06040324_B2/Charge.cpp
B06040324_B2/Charge.h
B06040324_B2/Consumer.cpp
B06040324_B2/Consumer.h
B06040324_B2/Debug/B06040324_B2.exe
B06040324_B2/Debug/B06040324_B2.ilk
B06040324_B2/Debug/B06040324_B2.pdb
B06040324_B2/Debug/CallList.obj
B06040324_B2/Debug/Charge.obj
B06040324_B2/Debug/Consumer.obj
B06040324_B2/Debug/Rate.obj
B06040324_B2/Debug/TeleExpSystem.obj
B06040324_B2/Debug/vc60.idb
B06040324_B2/Debug/vc60.pdb
B06040324_B2/dfaafads
B06040324_B2/hl.dat
B06040324_B2/Rate.cpp
B06040324_B2/Rate.h
B06040324_B2/TeleExpSystem.cpp
B06040324_B2/使用说明.txt
B06040324_B2/测试文件/fl.dat
B06040324_B2/测试文件/hd.dat
B06040324_B2/测试文件/yh.dat
B06040324_B2/Debug
B06040324_B2/测试文件
B06040324_B2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.