Sie sind auf Seite 1von 19

PSG COLLEGE OF TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING TECHNICAL REPORT MOBILE BILLING SYSTEM SUBMITTED BY R.ASVANTI ROLLNO:12Z307 ON JULY 10

DISCLAIMER:
We declare that the following to be our own work, unless referenced, as defined by the college policy on plagiarism

R.ASVANTI (12Z307)

ABSTRACT:
This project is designed to calculate mobile bills in an efficient way without errors. The main goal of the project is error free calculation of the bills.the project is designed in such a way that it is supported on all basic computers ,suitable for all organisations and is also easy to maintain. Computerisation of bills is made in an efficient way for security reasons and to minimize manual work. The project is simple and efficient to perform the required task.

Table of Contents
Disclaimer.i Abstract...............ii List of figures.........iii 1.Introduction.......................................................................................... 2.System objectives................................................................ 2.1Aim of the project 3.Overview of current system...................................................................................................1 3.1Drawbacks of current system 4.System Requirements..........2 5.System design............................................................................................................................. 6. System Implementation. . 3 6. 1System Testing. 7. Conclusions.....6 References.......................7

List of figures:
4.3.1 Flowchart of mobile billing system.

1 INTRODUCTION
The purpose of the project is to computerize the requirement of the Telephone BillingSystem and such to calculate the bills for postpaid mobile, prepaid, etc.The software thus calculates and generates the telephone bills automatically. It does almost every work related to billing purposes.

2 SYSTEM OBJECTIVES
Telephone Billing System which starts with a manual data entry and managementdeals with hundreds of transactions , now-a-days has become a complicated and error prone job to maintain the telephones administrative system manually. So, we havedecided to go about computerizing their operation.The new system created in theproject i.e.

Computerization of telephone billing system


tends to computerize theTelephone Billing System by storing its associated data in database files and thusperforming all works related to calculation and generation of bills

2.1 AIM OF THE PROJECT


The main aim while implementing the project Telephone Billing System were tominimize the work and at the same time increase the speed of the work done.The new system is built with the following objectives: Information retrieval will become easy. Maintenance of database as well as overall project will become easy. Security measure will be adopted, by maintaining the login of administrator password

3 OVERVIEW OF CURRENT SYSTEM


Telephone Billing System is an approach by which the office staffs can store all the information about the customers, all the information of the Customers transactionand rectify them and review them whenever necessary. The existing system is assumed to be a manual billing system and hence all theoperations are assumed to be done manually by pen & paper works. When any customer takes new connections then separate files were maintained. Updating of data was very tedious job. It was not easy to do several administrative works like managing rates of calls,addition or modification of metered calls & customer entries, modification of customer details

3.1 PROBLEMS WITH CURRENT SYSTEM


Here are some enlisted problems that we have found in the conventional system The existing system is totally manual thus there are chances of error inprocessing. The basic and major drawbacks in the existing system are the speed of retrievalof data from files, which leads to delay. There are plenty of chances of duplicity of data and information. Maintenance of voluminous data is very cumbersome and laborious job. Uses of hard copy are not safe always. Large amount of storage space is needed.

4 GOALS OF PROPOSED SYSTEM


Maintaining accuracy The level of accuracy in the proposed system will be higher. All operation would be done that whatever information is comingfrom the source is accurate. correctly and it ensures

Maintaining no duplicacy In the proposed system utmost care should be taken so that no information is repeated anywhere, in storage or otherwise. This would assure economic use of storage space and consistency in the data storage. Immediate retrieval & storage of information The main objective of the proposed system is to provide for a quick and efficient retrieval of information. Any type of information would be available whenever the user requires. Easy to Operate The system will be easy to operate and should be such that it can be developed within a short period of time and fit in the limited budget of the user. Secured The system will provide certain level of security , one has to beproperly authenticated to operate this

5 SOFTWARE & HARDWARE SPECIFICATIONS Hardware requirement: CPU TYPE :Intel CORE i3 CO- PROCESSOR :Installed CPU CLOCK :2.8 GHZ RAM :2048 MB DISPLAY TYPE :LCD HARD DISK :500 GB FLOPPY DISK :1.44 MB KEY BOARD :120 Keys MOUSE :Standard Serial MONITOR :SVGA

Software requirement:
OPERATING SYSTEM :Windows 7 home premium LANGUAGE :C++

SYSTEM IMPLEMENTATION
To implement this system the following information are used Account number Customer details Mobile plan used Time spoken

SYSTEM DESIGN: FLOWCHART: START

CONCLUSIONS: Automatic generation of accounting. Faster and efficient in processing of information. With the larger reductions in the cost of hardware and software andavailability of user-friendly. It is relativelycheaper like maintaining a manual accounting system. More timely information can be produced. No more manual processing of the data- all automatically been posted tothe various ledgers/accounts and Many types of useful reports can be generated for management to make decision.

REFERENCES: 1.www.cplusplus.com 2.www.itprojectz.com 3.www.scribid.com

APPENDICES Appendix : i PROGRAM: #include <iostream> #include <iomanip> #include <cctype>

using namespace std; class mobile { int account,minutes,getMinutes,choice,in_calls,out_calls,in_msg,out_msg; char plan,getPlan,name[50],phone[10]; double billF,billM,billH,billP,billB,CODE_F,CODE_M,CODE_H,CODE_P,CODE_B; public: mobile(); int selection(); void getinfo(); void getPlan_Minutes(); void calculateBill(); void outputBill(); }; mobile::mobile() { CODE_F = 150.00; CODE_M = 5.00; CODE_H = 40.00; CODE_P = 64.00; CODE_B = 150.00; } int mobile::selection() //code f - monthly charge for fixed rate plan //code m - monthly base charge for per minute charge plan //code h - monthly base charge for home customer plan //code p - monthly base charge for home plus customer plan //code b - monthly base charge for business customer plan

{ cout << "This program will calculate and show you your cellular bill" << endl << endl;

cout<<"enter if you want a postpaid(1) or a prepaid(2) bill payment\n"; cin>>choice;

do { cout << "Please input your 5 digit account number: "; cin >> account; cout << endl; if ((account < 10000) || (account > 99999)) cout << "Your account number is not valid" << endl << endl; } while ((account < 10000) || (account > 99999)); cout<<"\nEnter your name:"; cin>>name; cout<<"\nEnter your phone no."; cin>>phone; return choice; }

void mobile::getPlan_Minutes() { cout << "AVAILABLE PLANS:" << endl; cout << "F " << endl; cout << "M " << endl; cout << "H" << endl; cout << "P" << endl; cout << "Bs"<< endl << endl; cout << "Please choose the letter of your plan from above: "; cin >> plan;

plan= toupper (plan); cout << endl << "Your chosen plan is: " << endl;

switch (plan) { case 'F': cout << "F - Fixed rate plan - $150 flat fee for unlimited minutes (no businesses)" << endl << endl; break;

case 'M': cout << "M - Per minute plan - $5 per month plus 21 cents per minute" << endl << endl; cout << "Please input the no. of minutes to be recharged: "; cin >> minutes; for( ; minutes < 0; ) { cout << "Invalid number, please enter a number above 0: "; cin >> minutes; } cout << endl; break;

case 'H': cout << "H - Home customer plan - $40/first 600 minutes used, plus 19 cents each additional minute" << endl << endl; cout << "Please input the no. of minutes to be recharged: "; cin >> minutes; for( ; minutes< 0; ) { cout << "Invalid number, please enter a number above 0: ";

cin >> minutes; } cout << endl; break;

case 'P': cout << "P - Home plus customer plan - $64/first 1000 minutes, plus 17 cents each additional minute" << endl << endl; cout << "Please input the no. of minutes to be recharged: "; cin >> minutes; for( ; minutes < 0; ) { cout << "Invalid number, please enter a number above 0: "; cin >> minutes; } cout << endl; break;

case 'B': cout << "B - Business customer plan - $150 up to 2,000 minutes, $210 up to 3,000 minutes, $240/over 3,000 " "minutes" << endl << endl; cout << "Please input the no. of minutes to be recharged:"; cin >> minutes; for( ; minutes< 0; ) { cout << "Invalid number, please enter a number above 0: "; cin >> minutes; } cout << endl; break;

default: cout << "Please enter a valid plan letter from above: "; cin >> plan; break;

} }

void mobile::calculateBill() { if (plan == 'F') billF = CODE_F; else if (plan == 'M') billM = CODE_M + (.21 * minutes); else if (plan == 'H') if ( minutes > 600) billH= CODE_H + (.19 * minutes); else billH = CODE_H; else if (plan == 'P') if ( minutes > 1000) billP = CODE_P + (.17 * minutes); else billP = CODE_P; else if (plan == 'B') if ( minutes <= 2000) billB = CODE_B; else if ( minutes <= 3000) billB = CODE_B + 60; else if ( minutes > 3000)

billB = CODE_B + 90; }

void mobile::outputBill() { double total; cout << "YOUR MONTHLY BILL" << endl << endl; cout << setw(20); cout << "Your account number: " << account << endl; cout<<"Your name:"<<name<<endl; cout<<"Your phone no."<<phone<<endl; if (plan != 'F') cout << "Your minutes: " << fixed << showpoint << setprecision(2) << setw(20) << minutes << endl; cout << "Total amount recharged: " ;

switch (plan) { case 'F': total = billF; break;

case 'M': total = billM; break;

case 'H': total = billH; break;

case 'P': total = billP;

break;

case 'B': total = billB; break; } cout<<total<<endl; } void mobile::getinfo() { double total=0; cout<<"\nenter no. of incoming and outgoing calls:(minutes spoken)"; cin>>in_calls>>out_calls; cout<<"\nenter no. of incoming and outgoing messages: "; cin>>in_msg>>out_msg;

cout << "YOUR MONTHLY BILL" << endl << endl; cout << setw(20); cout << "Your account number: " << account << endl; cout<<"Your name:"<<name<<endl; cout<<"Your phone no."<<phone<<endl; total=1.0*out_calls+0.5*out_msg; cout<<"Total due:"<<total; } int main() { mobile mob; int x; x=mob.selection(); if(x==1) {

mob.getinfo(); } if(x==2) { mob.getPlan_Minutes(); mob.calculateBill(); mob.outputBill(); } return 0; }

Das könnte Ihnen auch gefallen