SlideShare une entreprise Scribd logo
1  sur  24
……………………………………………………..
………………………………………………..……
Project Report
On
TELEPHONE BILLING
SYSTEM
In the partial fulfillment of All India Senior School
Certificate Examination for the session ……………..
conducted by Central Board Of Secondary Education.
…………………….
CLASS--…………
ACKNOWLEDGEMENT
I would like to convey my heartful thanks to
……………….. (Computer Science) who always gave
valuable suggestions & guidance for completion of my
project.
He helped me to understand & remember important
details of the project. My project has been a success
only because of his guidance.
I am especially indented & I am also beholden to my
friends. And finally I thank to the members of my
family for their support & encouragement.
CERTIFICATE
This is to certify that ……………….. of class
……… of
…………………………………………………
… has completed her project under my
supervision. She has taken proper care & shown
sincerity in completion of this project.
I certify that this project is up to my
expectation & as per the guideline issued by
CBSE.
…………………………….
(Computer Science faculty )
Content
1. Introduction
2. Source Code
3. Output
4. Requirement
5. Advantages and disadvantages
6. Conclusion
7. System design
This project TELEPHONE BILLING SYSTEM includes some facilities
of travel such as registration, search, display, modification,
delete etc. This software searches the client data which is store
in the record.
The software used for small schools for maintaining there
records related to library and cost savings.
//***************************************************************
// HEADER FILE USED IN PROJECT
//****************************************************************
#include <process.h>
#include <ctype.h>
#include <dos.h>
#include <dir.h>
#include <fstream.h>
void show()
{
clrscr();
gotoxy(1,5);
cout<<"**************************WELCOME TO MY PROJECT*******************************";
gotoxy(1,8);
cout<<"**********************************ON******************************************";
gotoxy(1,10);
cout<<" *********************TELEPHONE BILLING**************************";
gotoxy(1,20);
cout<<"------SUBMITTED BY: …………………………………………--------";
gotoxy(1,22);
cout<<"------…………………………………………………………………….”;
gotoxy(15,24);
cout<<"---------------PRESS ANY KEY-----------------------";
getch();
clrscr();
}
//***************************************************************
// CLASS USED IN PROJECT
//****************************************************************
// CLASS HAVING THE RECORD OF CUSTOMER
class customer
{ char name[30];
char add[40];
char ph[15];
char type;
public :
void append();
void display();
void deleter();
void modify();
void list();
void help();
}cust;
// FUNCTION TO DISPLAY THE MESSAGE AT THE BOTTOM OF THE SCREEN
void message(char mess[80])
{
int l,d;
l=strlen(mess);
d=l/2;
gotoxy(2,24);
//textcolor(WHITE+BLINK);
//textbackground(BLACK);
cout<<" ";
gotoxy(40-d,24);
clrscr();
cout<<mess;
//textcolor(BLACK);
//textbackground(WHITE);
}
// MAIN FUNCTION HAVING THE MAIN MENU
void main()
{
//textcolor(BLACK);
//textbackground(WHITE);
show();
char ch,ch1;
while(1)
{
clrscr();
gotoxy(1,2);
cout<<"*******************************************************************************";
gotoxy(25,4);
cout<<"MAHANAGAR TELEPHONE NIGAM LTD.";
gotoxy(1,6);
cout<<"*******************************************************************************";
gotoxy(25,8);
cout<<" D - Display a Bill";
gotoxy(25,10);
cout<<" L - List of customers";
gotoxy(25,12);
cout<<" H - Help";
gotoxy(25,14);
cout<<" M - Modify a record";
gotoxy(25,16);
cout<<" Q - Quit";
gotoxy(30,18);
cout<<"Select Your Choice:";
//message("Select your choice");
gotoxy(50,18);
ch =getch();
ch = toupper(ch);
switch(ch)
{
case ('Q') : //textcolor(WHITE);
//textbackground(BLACK);
clrscr();
gotoxy(25,30);
cout<<"***********THANKS FOR WATCHING****************";
exit(1);
case ('D') : cust.display();
break;
case ('L') : cust.list();
break;
case ('H') : cust.help();
break;
case ('M') :
ch1 = 'A' ;
while(ch1 != 'Q')
{
clrscr();
gotoxy(1,2);
cout<<"*******************************************************************************";
gotoxy(25,4);
cout<<"MAHANAGAR TELEPHONE NIGAM LTD.";
gotoxy(1,6);
cout<<"*******************************************************************************";
gotoxy(25,9);
cout<<" A - Append a record";
gotoxy(25,11);
cout<<" D - Delete a record";
gotoxy(25,13);
cout<<" M - Change a record";
gotoxy(25,15);
cout<<" Q - Quit";
gotoxy(30,18);
cout<<"Select your option";
gotoxy(50,18);
ch1 = getch();
ch1 = toupper(ch1);
switch(ch1)
{
case ('A') : cust.append();
break;
case ('D') : cust.deleter();
break;
case ('M') : cust.modify();
break;
}
}
}
}
}
// FUNCTION TO ADD THE CUSTOMER RECORD IN THE FILE
void customer :: append()
{
char choice;
fstream fp;
fp.open("tphone.dat",ios::out);
if (!fp)
{
cout<<"Unable to open FILE.";
getch();
return;
}
while(1)
{
clrscr();
gotoxy(3,3);
cout<<"Customer Record #";
cout<<"Enter the customer record";
while(1)
{
cout<<"Enter the name";
gotoxy(3,5);
cout<<"Name : ";
gotoxy(25,5);
cin>>name;
if(strlen(name)==0)
{
gotoxy(2,23);
clrscr();
//textcolor(WHITE+BLINK);
//textbackground(BLACK);
cout<<"Name cannot be left blanka";
//textcolor(BLACK);
}
else
break;
}
while(1)
{
cout<<"Enter the address";
gotoxy(3,6);
cout<<"Address : ";
gotoxy(25,6);
gets(add);
if (strlen(add) != 0)
break;
}
while(1)
{
gotoxy(3,7);
cout<<"Assigned Ph. No. : ";
gotoxy(25,7);
cin>>ph;
if (ph != 0 )
break;
else
{
gotoxy(25,7);
clrscr();
}
}
cout<<"Enter O for Office and R for residential phone";
gotoxy(3,8);
cout<<"catagory ( O/R ) : ";
cin>>type;
gotoxy(4,10);
cout<<"1 : Save & Exit 2 : Save & Cont. 0 : Exit without save";
gotoxy(4,11);
cout<<"? ";
cin>>choice;
switch(choice)
{
case ('1') : fp.write((char *) this,sizeof(cust));
fp.close();
return;
case ('2') : fp.write((char *) this,sizeof(cust));
break;
case ('0') : fp.close();
return;
default : fp.close();
return;
}
}
}
// FUNCTION TO DISPLAY THE CUSTOMER RECORD AND CALCULATE THE BILL
void customer :: display()
{
char p[10];
char choice=NULL;
int found=0;
int no;
float bill=0.0, tax=0.0, fine=0.0, bbill=0.0, abill=0.0;
fstream fp;
fp.open("tphone.dat", ios::in);
if (!fp)
{
cout<<"Unable to open a file";
getch();
fp.close();
return;
}
while(choice != '0')
{
clrscr();
gotoxy(3,20);
cout<<"Please enter the Phone No. ";
cin>>p;
if (!strcmp(p,"0"))
return;
found = 0;
fp.seekg(0);
while (fp.read((char *)this ,sizeof(cust)))
{
if (found==1)
break;
if (!strcmp(ph,p))
{
clrscr();
gotoxy(1,1);
cout<<"*******************************************************************************";
gotoxy(28,2);
cout<<"MAHANAGAR TELEPHONE BILL";
gotoxy(1,3);
cout<<"*******************************************************************************";
gotoxy(3,4);
cout<<"Name : ";
cout<<name;
gotoxy(35,5);
cout<<"Address : ";
cout<<add;
gotoxy(35,4);
cout<<"Assigned Ph. No. : ";
cout<<ph;
gotoxy(3,5);
cout<<"Catagory ( O/R ) : ";
cout<<type;
gotoxy(1,6);
cout<<"===========================================================================";
gotoxy(23,8);
cout<<"___________";
gotoxy(10,8);
cout<<"No. of calls ";
cin>>no;
if ( no <= 150 )
bill = 0 ;
else
{
no = no - 150;
if (toupper(type) == 'O')
bill = no * 1.00 ;
else
bill = no * .80;
}
gotoxy(10,9);
cout<<"Bill";
gotoxy(70,9);
cout<<bill;
tax = (5*bill)/100;
gotoxy(10,10 );
cout<<"5% Tax";
gotoxy(70,10);
cout<<tax;
gotoxy(10,11);
cout<<"Duties";
gotoxy(70,11);
cout<<"100";
int dd,mm,yy;
struct date d; // Getting system Date
getdate(&d);
dd = d.da_day;
mm = d.da_mon;
yy = d.da_year;
gotoxy(1,13);
cout<<"===========================================================================";
gotoxy(10,15) ;
cout<<"TOTAL BILL before " ;
cout<<dd<<"/"<<mm<<"/"<<yy;
bbill = bill+tax+100;
gotoxy(70,15);
cout<<bbill;
gotoxy(1,16);
cout<<"===========================================================================";
gotoxy(10,17);
cout<<"Late Fine";
fine = (bbill*5)/100;
gotoxy(70,17);
cout<<fine;
gotoxy(10,21);
cout<<"TOTAL BILL after ";
cout<<dd<<"/"<<mm<<"/"<<yy;
abill = bbill+fine;
gotoxy(70,21);
cout<<abill;
found = 1;
gotoxy(10,23);
cout<<"*************************Press a Key********************************";
getch();
}
}
cout<<"Enter 1 or 2 to cont.";
gotoxy(4,22);
cout<<"1 : Cont. 0 : Exit ";
cout<<"? ";
cin>>choice;
switch(choice)
{
case ('1') :
break;
case ('0') : return;
default : return;
}
}
fp.close();
}
// FUNCTION TO DISPLAY THE LIST OF THE CUSTOMERS
void customer :: list()
{
clrscr();
fstream fp;
int r;
fp.open("tphone.dat", ios::in);
if (!fp)
{
cout<<"Unable to open";
getch();
fp.close();
return;
}
gotoxy(35,2);
cout<<"List of Customers";
gotoxy(35,3);
cout<<"*****************";
gotoxy(5,4);
cout<<"Name";
gotoxy(40,4);
cout<<"Phone No.";
gotoxy(65,4);
cout<<"Catagory";
gotoxy(1,5);
cout<<"*******************************************************************************";
r=6;
while (fp.read((char *) this, sizeof(cust)))
{
if (r >= 21)
{
cout<<"Press a key";
getch();
clrscr();
gotoxy(35,2);
cout<<"List of customers";
gotoxy(35,3);
cout<<"*****************";
gotoxy(5,4);
cout<<"Name";
gotoxy(40,4);
cout<<"Phone No.";
gotoxy(65,4);
cout<<"Catagory";
gotoxy(1,5);
cout<<"*******************************************************************************";
r=6;
}
gotoxy(5,r);
cout<<name;
gotoxy(40,r);
cout<<ph;
gotoxy(65,r);
if (toupper(cust.type) == 'O')
cout<<"Office";
else
cout<<"Residential";
r++;
}
gotoxy(1,r);
cout<<"*******************************************************************************";
gotoxy(35,r+1);
cout<<"Press a key";
getch();
fp.close();
}
// FUNCTION TO DELETE THE RECORD OF CUSTOMER FROM THE FILE
void customer :: deleter()
{
char ch;
char p[10];
fstream temp,fp;
fp.open("tphone.dat", ios::in);
if (!fp)
{
cout<<"Unable to open Telephone file";
getch();
fp.close();
return;
}
temp.open("temp.dat", ios::out);
if (!temp)
{
cout<<"Unable to open Temporary file";
getch();
temp.close();
return;
}
clrscr();
gotoxy(5,3);
cout<<"Enter the Phone No. to be deleted : ";
cin>>p;
if(!strcmp(p,"0"))
return;
int found=0;
while (fp.read((char *) this, sizeof(cust)))
{
if (!strcmp(p,ph))
{
found = 1;
gotoxy(5,5);
cout<<"Name "<<name;
gotoxy(5,6);
cout<<"Address " <<add;
gotoxy(5,7);
cout<<"Catagory "<<type;
gotoxy(6,10);
cout<<"Delete this record (Y/N) ";
cin>>ch;
if (toupper(ch) == 'N')
temp.write((char *) this,sizeof(cust));
}
else
temp.write((char *) this,sizeof(cust));
}
fp.close();
temp.close();
if (toupper(ch) == 'N')
return;
if (!found)
{
cout<<"nnTelephone no. not found";
getch();
return;
}
fp.open("tphone.dat", ios::out);
temp.open("temp.dat", ios::in);
while (temp.read((char *) this, sizeof(cust)))
fp.write((char *) this, sizeof(cust));
fp.close();
temp.close();
}
// FUNCTION TO MODIFY THE RECORD OF CUSTOMER FROM THE FILE
void customer :: modify()
{
char ch;
char p[10];
fstream temp,fp;
fp.open("tphone.dat", ios::in);
if (!fp)
{
cout<<"Unable to open Telephone file";
getch();
fp.close();
return;
}
temp.open("temp.dat", ios::out);
if (!temp)
{
cout<<"Unable to open Temporary file";
getch();
temp.close();
return;
}
clrscr();
gotoxy(5,3);
cout<<"Enter the Phone No. to be Modify : ";
cin>>p;
if(!strcmp(ph,"0"))
return;
int found=0;
while (fp.read((char *) this, sizeof(cust)))
{
if (!strcmp(p,ph))
{
found = 1;
gotoxy(5,5);
cout<<"Name "<<name;
gotoxy(5,6);
cout<<"Address " <<add;
gotoxy(5,7);
cout<<"Catagory "<<type;
gotoxy(6,10);
cout<<"Modify this record (Y/N) ";
cin>>ch;
if (toupper(ch) == 'Y')
{
gotoxy(3,13);
cout<<"Customer Record #";
cout<<"Enter the customer record";
while(1)
{
gotoxy(3,15);
cout<<"Name : ";
gets(name);
if (strlen(name) != 0)
break;
}
gotoxy(3,16);
cout<<"Address : ";
gets(add);
while(1)
{
gotoxy(3,17);
cout<<"Assigned Ph. No. : ";
cin>>ph;
if (ph != 0 )
break;
}
cout<<"Enter O for Office and R for residential phone";
gotoxy(3,18);
cout<<"catagory ( O/R ) : ";
cin>>type;
}
}
temp.write((char *) this,sizeof(cust));
}
fp.close();
temp.close();
if (toupper(ch) == 'N')
return;
if (!found)
{
cout<<"nnTelephone no. not found";
getch();
return;
}
fp.open("tphone.dat", ios::out);
temp.open("temp.dat", ios::in);
while (temp.read((char *) this, sizeof(cust)))
fp.write((char *) this, sizeof(cust));
fp.close();
temp.close();
}
// FUNCTION TO DISPLAY THE DISCRIPTION FOR THE PROJECT WORKING
void customer :: help()
{
clrscr();
gotoxy(35,2);
cout<<" HELP ";
gotoxy(8,5);
cout<<"This software is used to create a telephone bill for the customers. ";
gotoxy(8,7);
cout<<"There are two catagories of the customers. First catagories is of";
gotoxy(8,9);
cout<<"Residential phones and second catagories is of Office phones. Both";
gotoxy(8,11);
cout<<"the catagories have different charges of the telephone bill. Charges";
gotoxy(8,13);
cout<<"of residential phones are 80 Paise per call and Charges of Office ";
gotoxy(8,15);
cout<<"office phones are Rs. 1 per call. 150 call are free for each catogory";
gotoxy(8,17);
cout<<"Total bill for is equal to 5% tax plus 100 rupees charges for other";
gotoxy(8,19);
cout<<"charges. If bill is not paid before the paticular date then penalty ";
gotoxy(8,21);
cout<<"should also be given.";
getch();
}
IF CHOICE IS 'M'
IF CHOICE IS 'A' NEW RECORD OF CUSTOMER IS ADDED
IF CHOICE IS 'M' MODIFY THE RECORD OF CUSTOMER
IF CHOICE IS 'D' DELETE THE RECORD OF CUSTOMER IS ADDED
IF CHOICE 'L' IS SELECTED:
CUSTOMER LIST
*******************************************************************************
NAME ADDRESS PHONE NUMBER
*******************************************************************************
ABC XXXXXX 5656XXXXXX
XYZ HXXXXX 8958XXXXXX
******************************************************************************
IF CHOICE 'D' IS SELECTED:
Please enter the phone number:5656xxxxxxx
REQUIREMENTS
HARDWARE REQUIRED
• Printer, to print the required documents of the project
• Compact Drive
• Processor : intel
• Ram : 512 MB or more than 512MB
• Harddisk : 80 GB or more than 80GB.
SOFTWARE REQUIRED
• Operating system : Windows XP
• Turbo C++, for execution of program and Ms word, for
presentation of output.
ADVANTAGES
• It allows effective and easy management of customers' payments in a quick and timely manner. Any
inefficiency should be greatly reduced.
• The system can be custom built to suit the specific needs of the company. This further allows for a smooth
billing process.
• A reduction in human error will occur. This should reduce cost and time spent correcting errors.
• All these benefits combined mean that in the long run a computerised billing system should be more cost
effective for a business when compared to a manual one.
DISADVANTAGES
• The initial cost of installing the system can be high - especially if the business requires extra features added
to the software.
• There can also be other unforeseen costs - staff training, for instance.
• As with all computer systems, there is always the chance of associated hardware and/or software problems.
Data can be lost through power failures or accidental deletion. Problems can also occur with viruses,
hacking and fraud.
• Online facility is not available.
CONCLUSION
After entering into the project, user is left with several options via –
a) The user can take new connections.
b) The user can view the existing lists of customers, which already have telephone
connections.
c) The user can of course see bills & take billing statements.
d) The user can also do several administrative works like managing rates of calls,
addition or modification of metered calls & customer entries.
It is a computerized system, which can be used very easily & effectively by the
administrators of the telephone billing system.
SYSTEM DESIGN
Then we began with the design phase of the system. System design is a solution, a
“HOW TO” approach to the creation of a new system. It translates system
requirements into ways by which they can be made operational. It is a
translational from a user oriented document to a document oriented
programmers. For that, it provides the understanding and procedural details
necessary for the implementation. Here we use Flowchart to supplement the
working of the new system. The system thus made should be reliable, durable and
above all should have least possible maintenance costs. It should overcome all the
drawbacks of the Old existing system and most important of all meet the user
requirements.
START
MAHANAGAR TELEPHONE NIGAM
D DISPLAY ABILL
L LIST OF CUSTOMERS
M RECORDS OF CUSTOMER
Q QUIT
IF CHOICE = 'D
IF CHOICE= 'L'
IF CHOICE = 'M'
IF CHOICE ='Q'
STOP
DISPLAY THE BILLAMOUNT
OF CUSTOMER
DISPLAY LIST OF CUSTOMER
DETAILS
NEW/MODIFY/DELETE
RECORD
QUIT
BIBLIOGRAPHY
The great help from our faculty members and my project guide that led the successful
completion of the project. Besides that, I took the help of some books and websites to
develop the project. They are : --
Sumita Arora – Computer Science with C++
E. Balagurusami – C++
Robert Lafore – Turbo C++
website : www.cppforschool.com

Contenu connexe

Tendances

Data Structures Practical File
Data Structures Practical File Data Structures Practical File
Data Structures Practical File Harjinder Singh
 
The Rust Programming Language: an Overview
The Rust Programming Language: an OverviewThe Rust Programming Language: an Overview
The Rust Programming Language: an OverviewRoberto Casadei
 
Chapter 5 Balagurusamy Programming ANSI in c
Chapter 5 Balagurusamy Programming ANSI  in cChapter 5 Balagurusamy Programming ANSI  in c
Chapter 5 Balagurusamy Programming ANSI in cBUBT
 
Introduce to Rust-A Powerful System Language
Introduce to Rust-A Powerful System LanguageIntroduce to Rust-A Powerful System Language
Introduce to Rust-A Powerful System Language安齊 劉
 
Data Structure Project File
Data Structure Project FileData Structure Project File
Data Structure Project FileDeyvessh kumar
 
Let us c(by yashwant kanetkar) chapter 2 solution
Let us c(by yashwant kanetkar) chapter 2 solutionLet us c(by yashwant kanetkar) chapter 2 solution
Let us c(by yashwant kanetkar) chapter 2 solutionrohit kumar
 
STL ALGORITHMS
STL ALGORITHMSSTL ALGORITHMS
STL ALGORITHMSfawzmasood
 
The solution manual of programming in ansi by Robin
The solution manual of programming in ansi by RobinThe solution manual of programming in ansi by Robin
The solution manual of programming in ansi by RobinShariful Haque Robin
 
Goroutines and Channels in practice
Goroutines and Channels in practiceGoroutines and Channels in practice
Goroutines and Channels in practiceGuilherme Garnier
 
Object Oriented Programming Using C++ Practical File
Object Oriented Programming Using C++ Practical FileObject Oriented Programming Using C++ Practical File
Object Oriented Programming Using C++ Practical FileHarjinder Singh
 
C++ 25 programs Class XII
C++ 25 programs Class XIIC++ 25 programs Class XII
C++ 25 programs Class XIISaurav Ranjan
 
Constructor and Destructor
Constructor and DestructorConstructor and Destructor
Constructor and DestructorKamal Acharya
 

Tendances (20)

Data Structures Practical File
Data Structures Practical File Data Structures Practical File
Data Structures Practical File
 
Clean code
Clean codeClean code
Clean code
 
The Rust Programming Language: an Overview
The Rust Programming Language: an OverviewThe Rust Programming Language: an Overview
The Rust Programming Language: an Overview
 
Chapter 5 Balagurusamy Programming ANSI in c
Chapter 5 Balagurusamy Programming ANSI  in cChapter 5 Balagurusamy Programming ANSI  in c
Chapter 5 Balagurusamy Programming ANSI in c
 
Introduce to Rust-A Powerful System Language
Introduce to Rust-A Powerful System LanguageIntroduce to Rust-A Powerful System Language
Introduce to Rust-A Powerful System Language
 
Data Structure Project File
Data Structure Project FileData Structure Project File
Data Structure Project File
 
Let us c(by yashwant kanetkar) chapter 2 solution
Let us c(by yashwant kanetkar) chapter 2 solutionLet us c(by yashwant kanetkar) chapter 2 solution
Let us c(by yashwant kanetkar) chapter 2 solution
 
STL ALGORITHMS
STL ALGORITHMSSTL ALGORITHMS
STL ALGORITHMS
 
Pointers in c++
Pointers in c++Pointers in c++
Pointers in c++
 
Ansi c
Ansi cAnsi c
Ansi c
 
functions of C++
functions of C++functions of C++
functions of C++
 
Smart Pointers in C++
Smart Pointers in C++Smart Pointers in C++
Smart Pointers in C++
 
The solution manual of programming in ansi by Robin
The solution manual of programming in ansi by RobinThe solution manual of programming in ansi by Robin
The solution manual of programming in ansi by Robin
 
Goroutines and Channels in practice
Goroutines and Channels in practiceGoroutines and Channels in practice
Goroutines and Channels in practice
 
Object Oriented Programming Using C++ Practical File
Object Oriented Programming Using C++ Practical FileObject Oriented Programming Using C++ Practical File
Object Oriented Programming Using C++ Practical File
 
07. Virtual Functions
07. Virtual Functions07. Virtual Functions
07. Virtual Functions
 
C++ 25 programs Class XII
C++ 25 programs Class XIIC++ 25 programs Class XII
C++ 25 programs Class XII
 
Function Pointer
Function PointerFunction Pointer
Function Pointer
 
Constructors and Destructor in C++
Constructors and Destructor in C++Constructors and Destructor in C++
Constructors and Destructor in C++
 
Constructor and Destructor
Constructor and DestructorConstructor and Destructor
Constructor and Destructor
 

Similaire à Telephone billing system in c++

project report in C++ programming and SQL
project report in C++ programming and SQLproject report in C++ programming and SQL
project report in C++ programming and SQLvikram mahendra
 
CANTEEN MANAGEMENT SYSTEM IN C++
CANTEEN MANAGEMENT SYSTEM IN C++CANTEEN MANAGEMENT SYSTEM IN C++
CANTEEN MANAGEMENT SYSTEM IN C++vikram mahendra
 
SALARY MANAGEMENT SYSTEM IN C++
SALARY MANAGEMENT SYSTEM IN C++SALARY MANAGEMENT SYSTEM IN C++
SALARY MANAGEMENT SYSTEM IN C++vikram mahendra
 
Library Management System in c++
Library Management System in c++Library Management System in c++
Library Management System in c++vikram mahendra
 
Report Card making BY Mitul Patel
Report Card making BY Mitul PatelReport Card making BY Mitul Patel
Report Card making BY Mitul PatelMitul Patel
 
Electricitybillsystemreport
ElectricitybillsystemreportElectricitybillsystemreport
Electricitybillsystemreportvikram mahendra
 
codings related to avr micro controller
codings related to avr micro controllercodings related to avr micro controller
codings related to avr micro controllerSyed Ghufran Hassan
 
2014 computer science_question_paper
2014 computer science_question_paper2014 computer science_question_paper
2014 computer science_question_papervandna123
 
CS Project-Source code for shopping inventory for CBSE 12th
CS Project-Source code for shopping inventory for CBSE 12thCS Project-Source code for shopping inventory for CBSE 12th
CS Project-Source code for shopping inventory for CBSE 12thSudhindra Mudhol
 
Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++Rushil Aggarwal
 
bank management system
bank management systembank management system
bank management systemAisha Aisha
 
Pads lab manual final
Pads lab manual finalPads lab manual final
Pads lab manual finalAhalyaR
 
Combine the keypad and LCD codes in compliance to the following requ.pdf
Combine the keypad and LCD codes in compliance to the following requ.pdfCombine the keypad and LCD codes in compliance to the following requ.pdf
Combine the keypad and LCD codes in compliance to the following requ.pdfforwardcom41
 
Program(Output)
Program(Output)Program(Output)
Program(Output)princy75
 
Rajeev oops 2nd march
Rajeev oops 2nd marchRajeev oops 2nd march
Rajeev oops 2nd marchRajeev Sharan
 

Similaire à Telephone billing system in c++ (20)

project report in C++ programming and SQL
project report in C++ programming and SQLproject report in C++ programming and SQL
project report in C++ programming and SQL
 
BOOK SHOP SYSTEM C++
BOOK SHOP SYSTEM C++BOOK SHOP SYSTEM C++
BOOK SHOP SYSTEM C++
 
CANTEEN MANAGEMENT SYSTEM IN C++
CANTEEN MANAGEMENT SYSTEM IN C++CANTEEN MANAGEMENT SYSTEM IN C++
CANTEEN MANAGEMENT SYSTEM IN C++
 
SALARY MANAGEMENT SYSTEM IN C++
SALARY MANAGEMENT SYSTEM IN C++SALARY MANAGEMENT SYSTEM IN C++
SALARY MANAGEMENT SYSTEM IN C++
 
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM)
 
Library Management System in c++
Library Management System in c++Library Management System in c++
Library Management System in c++
 
Report Card making BY Mitul Patel
Report Card making BY Mitul PatelReport Card making BY Mitul Patel
Report Card making BY Mitul Patel
 
Electricitybillsystemreport
ElectricitybillsystemreportElectricitybillsystemreport
Electricitybillsystemreport
 
codings related to avr micro controller
codings related to avr micro controllercodings related to avr micro controller
codings related to avr micro controller
 
2014 computer science_question_paper
2014 computer science_question_paper2014 computer science_question_paper
2014 computer science_question_paper
 
Computer
ComputerComputer
Computer
 
CS Project-Source code for shopping inventory for CBSE 12th
CS Project-Source code for shopping inventory for CBSE 12thCS Project-Source code for shopping inventory for CBSE 12th
CS Project-Source code for shopping inventory for CBSE 12th
 
Useful c programs
Useful c programsUseful c programs
Useful c programs
 
About Go
About GoAbout Go
About Go
 
Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++Computer science Investigatory Project Class 12 C++
Computer science Investigatory Project Class 12 C++
 
bank management system
bank management systembank management system
bank management system
 
Pads lab manual final
Pads lab manual finalPads lab manual final
Pads lab manual final
 
Combine the keypad and LCD codes in compliance to the following requ.pdf
Combine the keypad and LCD codes in compliance to the following requ.pdfCombine the keypad and LCD codes in compliance to the following requ.pdf
Combine the keypad and LCD codes in compliance to the following requ.pdf
 
Program(Output)
Program(Output)Program(Output)
Program(Output)
 
Rajeev oops 2nd march
Rajeev oops 2nd marchRajeev oops 2nd march
Rajeev oops 2nd march
 

Plus de vikram mahendra

Python Project On Cosmetic Shop system
Python Project On Cosmetic Shop systemPython Project On Cosmetic Shop system
Python Project On Cosmetic Shop systemvikram mahendra
 
Python Project on Computer Shop
Python Project on Computer ShopPython Project on Computer Shop
Python Project on Computer Shopvikram mahendra
 
PYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMPYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMvikram mahendra
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Pythonvikram mahendra
 
FLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHONFLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHONvikram mahendra
 
FLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHONFLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHONvikram mahendra
 
FLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONFLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONvikram mahendra
 
OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1vikram mahendra
 
OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2vikram mahendra
 
USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2vikram mahendra
 
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]vikram mahendra
 
USER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHONUSER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHONvikram mahendra
 
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]vikram mahendra
 
INTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHONINTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHONvikram mahendra
 

Plus de vikram mahendra (20)

Communication skill
Communication skillCommunication skill
Communication skill
 
Python Project On Cosmetic Shop system
Python Project On Cosmetic Shop systemPython Project On Cosmetic Shop system
Python Project On Cosmetic Shop system
 
Python Project on Computer Shop
Python Project on Computer ShopPython Project on Computer Shop
Python Project on Computer Shop
 
PYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMPYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEM
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Python
 
FLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHONFLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHON
 
FLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHONFLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHON
 
FLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONFLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHON
 
OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1
 
OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2
 
USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2
 
DATA TYPE IN PYTHON
DATA TYPE IN PYTHONDATA TYPE IN PYTHON
DATA TYPE IN PYTHON
 
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
 
USER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHONUSER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHON
 
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
 
INTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHONINTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHON
 
Python Introduction
Python IntroductionPython Introduction
Python Introduction
 
GREEN SKILL[PART-2]
GREEN SKILL[PART-2]GREEN SKILL[PART-2]
GREEN SKILL[PART-2]
 
GREEN SKILLS[PART-1]
GREEN SKILLS[PART-1]GREEN SKILLS[PART-1]
GREEN SKILLS[PART-1]
 
Dictionary in python
Dictionary in pythonDictionary in python
Dictionary in python
 

Dernier

Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 

Dernier (20)

Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

Telephone billing system in c++

  • 1. …………………………………………………….. ………………………………………………..…… Project Report On TELEPHONE BILLING SYSTEM In the partial fulfillment of All India Senior School Certificate Examination for the session …………….. conducted by Central Board Of Secondary Education. ……………………. CLASS--…………
  • 2. ACKNOWLEDGEMENT I would like to convey my heartful thanks to ……………….. (Computer Science) who always gave valuable suggestions & guidance for completion of my project. He helped me to understand & remember important details of the project. My project has been a success only because of his guidance. I am especially indented & I am also beholden to my friends. And finally I thank to the members of my family for their support & encouragement.
  • 3. CERTIFICATE This is to certify that ……………….. of class ……… of ………………………………………………… … has completed her project under my supervision. She has taken proper care & shown sincerity in completion of this project. I certify that this project is up to my expectation & as per the guideline issued by CBSE. ……………………………. (Computer Science faculty )
  • 4. Content 1. Introduction 2. Source Code 3. Output 4. Requirement 5. Advantages and disadvantages 6. Conclusion 7. System design
  • 5. This project TELEPHONE BILLING SYSTEM includes some facilities of travel such as registration, search, display, modification, delete etc. This software searches the client data which is store in the record. The software used for small schools for maintaining there records related to library and cost savings.
  • 6.
  • 7. //*************************************************************** // HEADER FILE USED IN PROJECT //**************************************************************** #include <process.h> #include <ctype.h> #include <dos.h> #include <dir.h> #include <fstream.h> void show() { clrscr(); gotoxy(1,5); cout<<"**************************WELCOME TO MY PROJECT*******************************"; gotoxy(1,8); cout<<"**********************************ON******************************************"; gotoxy(1,10); cout<<" *********************TELEPHONE BILLING**************************"; gotoxy(1,20); cout<<"------SUBMITTED BY: …………………………………………--------"; gotoxy(1,22); cout<<"------…………………………………………………………………….”; gotoxy(15,24); cout<<"---------------PRESS ANY KEY-----------------------"; getch(); clrscr(); } //*************************************************************** // CLASS USED IN PROJECT //**************************************************************** // CLASS HAVING THE RECORD OF CUSTOMER class customer { char name[30]; char add[40]; char ph[15]; char type; public : void append(); void display(); void deleter(); void modify(); void list(); void help(); }cust; // FUNCTION TO DISPLAY THE MESSAGE AT THE BOTTOM OF THE SCREEN void message(char mess[80]) { int l,d; l=strlen(mess); d=l/2;
  • 8. gotoxy(2,24); //textcolor(WHITE+BLINK); //textbackground(BLACK); cout<<" "; gotoxy(40-d,24); clrscr(); cout<<mess; //textcolor(BLACK); //textbackground(WHITE); } // MAIN FUNCTION HAVING THE MAIN MENU void main() { //textcolor(BLACK); //textbackground(WHITE); show(); char ch,ch1; while(1) { clrscr(); gotoxy(1,2); cout<<"*******************************************************************************"; gotoxy(25,4); cout<<"MAHANAGAR TELEPHONE NIGAM LTD."; gotoxy(1,6); cout<<"*******************************************************************************"; gotoxy(25,8); cout<<" D - Display a Bill"; gotoxy(25,10); cout<<" L - List of customers"; gotoxy(25,12); cout<<" H - Help"; gotoxy(25,14); cout<<" M - Modify a record"; gotoxy(25,16); cout<<" Q - Quit"; gotoxy(30,18); cout<<"Select Your Choice:"; //message("Select your choice"); gotoxy(50,18); ch =getch(); ch = toupper(ch); switch(ch) { case ('Q') : //textcolor(WHITE); //textbackground(BLACK); clrscr(); gotoxy(25,30); cout<<"***********THANKS FOR WATCHING****************"; exit(1); case ('D') : cust.display(); break;
  • 9. case ('L') : cust.list(); break; case ('H') : cust.help(); break; case ('M') : ch1 = 'A' ; while(ch1 != 'Q') { clrscr(); gotoxy(1,2); cout<<"*******************************************************************************"; gotoxy(25,4); cout<<"MAHANAGAR TELEPHONE NIGAM LTD."; gotoxy(1,6); cout<<"*******************************************************************************"; gotoxy(25,9); cout<<" A - Append a record"; gotoxy(25,11); cout<<" D - Delete a record"; gotoxy(25,13); cout<<" M - Change a record"; gotoxy(25,15); cout<<" Q - Quit"; gotoxy(30,18); cout<<"Select your option"; gotoxy(50,18); ch1 = getch(); ch1 = toupper(ch1); switch(ch1) { case ('A') : cust.append(); break; case ('D') : cust.deleter(); break; case ('M') : cust.modify(); break; } } } } } // FUNCTION TO ADD THE CUSTOMER RECORD IN THE FILE void customer :: append() { char choice; fstream fp; fp.open("tphone.dat",ios::out); if (!fp) { cout<<"Unable to open FILE."; getch(); return; } while(1) {
  • 10. clrscr(); gotoxy(3,3); cout<<"Customer Record #"; cout<<"Enter the customer record"; while(1) { cout<<"Enter the name"; gotoxy(3,5); cout<<"Name : "; gotoxy(25,5); cin>>name; if(strlen(name)==0) { gotoxy(2,23); clrscr(); //textcolor(WHITE+BLINK); //textbackground(BLACK); cout<<"Name cannot be left blanka"; //textcolor(BLACK); } else break; } while(1) { cout<<"Enter the address"; gotoxy(3,6); cout<<"Address : "; gotoxy(25,6); gets(add); if (strlen(add) != 0) break; } while(1) { gotoxy(3,7); cout<<"Assigned Ph. No. : "; gotoxy(25,7); cin>>ph; if (ph != 0 ) break; else { gotoxy(25,7); clrscr(); } } cout<<"Enter O for Office and R for residential phone"; gotoxy(3,8); cout<<"catagory ( O/R ) : "; cin>>type; gotoxy(4,10); cout<<"1 : Save & Exit 2 : Save & Cont. 0 : Exit without save"; gotoxy(4,11); cout<<"? "; cin>>choice; switch(choice) {
  • 11. case ('1') : fp.write((char *) this,sizeof(cust)); fp.close(); return; case ('2') : fp.write((char *) this,sizeof(cust)); break; case ('0') : fp.close(); return; default : fp.close(); return; } } } // FUNCTION TO DISPLAY THE CUSTOMER RECORD AND CALCULATE THE BILL void customer :: display() { char p[10]; char choice=NULL; int found=0; int no; float bill=0.0, tax=0.0, fine=0.0, bbill=0.0, abill=0.0; fstream fp; fp.open("tphone.dat", ios::in); if (!fp) { cout<<"Unable to open a file"; getch(); fp.close(); return; } while(choice != '0') { clrscr(); gotoxy(3,20); cout<<"Please enter the Phone No. "; cin>>p; if (!strcmp(p,"0")) return; found = 0; fp.seekg(0); while (fp.read((char *)this ,sizeof(cust))) { if (found==1) break; if (!strcmp(ph,p)) { clrscr(); gotoxy(1,1); cout<<"*******************************************************************************"; gotoxy(28,2); cout<<"MAHANAGAR TELEPHONE BILL"; gotoxy(1,3); cout<<"*******************************************************************************"; gotoxy(3,4); cout<<"Name : "; cout<<name; gotoxy(35,5);
  • 12. cout<<"Address : "; cout<<add; gotoxy(35,4); cout<<"Assigned Ph. No. : "; cout<<ph; gotoxy(3,5); cout<<"Catagory ( O/R ) : "; cout<<type; gotoxy(1,6); cout<<"==========================================================================="; gotoxy(23,8); cout<<"___________"; gotoxy(10,8); cout<<"No. of calls "; cin>>no; if ( no <= 150 ) bill = 0 ; else { no = no - 150; if (toupper(type) == 'O') bill = no * 1.00 ; else bill = no * .80; } gotoxy(10,9); cout<<"Bill"; gotoxy(70,9); cout<<bill; tax = (5*bill)/100; gotoxy(10,10 ); cout<<"5% Tax"; gotoxy(70,10); cout<<tax; gotoxy(10,11); cout<<"Duties"; gotoxy(70,11); cout<<"100"; int dd,mm,yy; struct date d; // Getting system Date getdate(&d); dd = d.da_day; mm = d.da_mon; yy = d.da_year; gotoxy(1,13); cout<<"==========================================================================="; gotoxy(10,15) ; cout<<"TOTAL BILL before " ; cout<<dd<<"/"<<mm<<"/"<<yy; bbill = bill+tax+100; gotoxy(70,15); cout<<bbill; gotoxy(1,16); cout<<"==========================================================================="; gotoxy(10,17); cout<<"Late Fine"; fine = (bbill*5)/100; gotoxy(70,17);
  • 13. cout<<fine; gotoxy(10,21); cout<<"TOTAL BILL after "; cout<<dd<<"/"<<mm<<"/"<<yy; abill = bbill+fine; gotoxy(70,21); cout<<abill; found = 1; gotoxy(10,23); cout<<"*************************Press a Key********************************"; getch(); } } cout<<"Enter 1 or 2 to cont."; gotoxy(4,22); cout<<"1 : Cont. 0 : Exit "; cout<<"? "; cin>>choice; switch(choice) { case ('1') : break; case ('0') : return; default : return; } } fp.close(); } // FUNCTION TO DISPLAY THE LIST OF THE CUSTOMERS void customer :: list() { clrscr(); fstream fp; int r; fp.open("tphone.dat", ios::in); if (!fp) { cout<<"Unable to open"; getch(); fp.close(); return; } gotoxy(35,2); cout<<"List of Customers"; gotoxy(35,3); cout<<"*****************"; gotoxy(5,4); cout<<"Name"; gotoxy(40,4); cout<<"Phone No."; gotoxy(65,4); cout<<"Catagory"; gotoxy(1,5); cout<<"*******************************************************************************"; r=6; while (fp.read((char *) this, sizeof(cust)))
  • 14. { if (r >= 21) { cout<<"Press a key"; getch(); clrscr(); gotoxy(35,2); cout<<"List of customers"; gotoxy(35,3); cout<<"*****************"; gotoxy(5,4); cout<<"Name"; gotoxy(40,4); cout<<"Phone No."; gotoxy(65,4); cout<<"Catagory"; gotoxy(1,5); cout<<"*******************************************************************************"; r=6; } gotoxy(5,r); cout<<name; gotoxy(40,r); cout<<ph; gotoxy(65,r); if (toupper(cust.type) == 'O') cout<<"Office"; else cout<<"Residential"; r++; } gotoxy(1,r); cout<<"*******************************************************************************"; gotoxy(35,r+1); cout<<"Press a key"; getch(); fp.close(); } // FUNCTION TO DELETE THE RECORD OF CUSTOMER FROM THE FILE void customer :: deleter() { char ch; char p[10]; fstream temp,fp; fp.open("tphone.dat", ios::in); if (!fp) { cout<<"Unable to open Telephone file"; getch(); fp.close(); return; } temp.open("temp.dat", ios::out); if (!temp) {
  • 15. cout<<"Unable to open Temporary file"; getch(); temp.close(); return; } clrscr(); gotoxy(5,3); cout<<"Enter the Phone No. to be deleted : "; cin>>p; if(!strcmp(p,"0")) return; int found=0; while (fp.read((char *) this, sizeof(cust))) { if (!strcmp(p,ph)) { found = 1; gotoxy(5,5); cout<<"Name "<<name; gotoxy(5,6); cout<<"Address " <<add; gotoxy(5,7); cout<<"Catagory "<<type; gotoxy(6,10); cout<<"Delete this record (Y/N) "; cin>>ch; if (toupper(ch) == 'N') temp.write((char *) this,sizeof(cust)); } else temp.write((char *) this,sizeof(cust)); } fp.close(); temp.close(); if (toupper(ch) == 'N') return; if (!found) { cout<<"nnTelephone no. not found"; getch(); return; } fp.open("tphone.dat", ios::out); temp.open("temp.dat", ios::in); while (temp.read((char *) this, sizeof(cust))) fp.write((char *) this, sizeof(cust)); fp.close(); temp.close(); } // FUNCTION TO MODIFY THE RECORD OF CUSTOMER FROM THE FILE void customer :: modify() { char ch; char p[10]; fstream temp,fp;
  • 16. fp.open("tphone.dat", ios::in); if (!fp) { cout<<"Unable to open Telephone file"; getch(); fp.close(); return; } temp.open("temp.dat", ios::out); if (!temp) { cout<<"Unable to open Temporary file"; getch(); temp.close(); return; } clrscr(); gotoxy(5,3); cout<<"Enter the Phone No. to be Modify : "; cin>>p; if(!strcmp(ph,"0")) return; int found=0; while (fp.read((char *) this, sizeof(cust))) { if (!strcmp(p,ph)) { found = 1; gotoxy(5,5); cout<<"Name "<<name; gotoxy(5,6); cout<<"Address " <<add; gotoxy(5,7); cout<<"Catagory "<<type; gotoxy(6,10); cout<<"Modify this record (Y/N) "; cin>>ch; if (toupper(ch) == 'Y') { gotoxy(3,13); cout<<"Customer Record #"; cout<<"Enter the customer record"; while(1) { gotoxy(3,15); cout<<"Name : "; gets(name); if (strlen(name) != 0) break; } gotoxy(3,16); cout<<"Address : "; gets(add); while(1) { gotoxy(3,17); cout<<"Assigned Ph. No. : "; cin>>ph;
  • 17. if (ph != 0 ) break; } cout<<"Enter O for Office and R for residential phone"; gotoxy(3,18); cout<<"catagory ( O/R ) : "; cin>>type; } } temp.write((char *) this,sizeof(cust)); } fp.close(); temp.close(); if (toupper(ch) == 'N') return; if (!found) { cout<<"nnTelephone no. not found"; getch(); return; } fp.open("tphone.dat", ios::out); temp.open("temp.dat", ios::in); while (temp.read((char *) this, sizeof(cust))) fp.write((char *) this, sizeof(cust)); fp.close(); temp.close(); } // FUNCTION TO DISPLAY THE DISCRIPTION FOR THE PROJECT WORKING void customer :: help() { clrscr(); gotoxy(35,2); cout<<" HELP "; gotoxy(8,5); cout<<"This software is used to create a telephone bill for the customers. "; gotoxy(8,7); cout<<"There are two catagories of the customers. First catagories is of"; gotoxy(8,9); cout<<"Residential phones and second catagories is of Office phones. Both"; gotoxy(8,11); cout<<"the catagories have different charges of the telephone bill. Charges"; gotoxy(8,13); cout<<"of residential phones are 80 Paise per call and Charges of Office "; gotoxy(8,15); cout<<"office phones are Rs. 1 per call. 150 call are free for each catogory"; gotoxy(8,17); cout<<"Total bill for is equal to 5% tax plus 100 rupees charges for other"; gotoxy(8,19); cout<<"charges. If bill is not paid before the paticular date then penalty "; gotoxy(8,21); cout<<"should also be given."; getch(); }
  • 19. IF CHOICE IS 'A' NEW RECORD OF CUSTOMER IS ADDED IF CHOICE IS 'M' MODIFY THE RECORD OF CUSTOMER IF CHOICE IS 'D' DELETE THE RECORD OF CUSTOMER IS ADDED IF CHOICE 'L' IS SELECTED: CUSTOMER LIST ******************************************************************************* NAME ADDRESS PHONE NUMBER ******************************************************************************* ABC XXXXXX 5656XXXXXX XYZ HXXXXX 8958XXXXXX ****************************************************************************** IF CHOICE 'D' IS SELECTED: Please enter the phone number:5656xxxxxxx
  • 20. REQUIREMENTS HARDWARE REQUIRED • Printer, to print the required documents of the project • Compact Drive • Processor : intel • Ram : 512 MB or more than 512MB • Harddisk : 80 GB or more than 80GB. SOFTWARE REQUIRED • Operating system : Windows XP • Turbo C++, for execution of program and Ms word, for presentation of output.
  • 21. ADVANTAGES • It allows effective and easy management of customers' payments in a quick and timely manner. Any inefficiency should be greatly reduced. • The system can be custom built to suit the specific needs of the company. This further allows for a smooth billing process. • A reduction in human error will occur. This should reduce cost and time spent correcting errors. • All these benefits combined mean that in the long run a computerised billing system should be more cost effective for a business when compared to a manual one. DISADVANTAGES • The initial cost of installing the system can be high - especially if the business requires extra features added to the software. • There can also be other unforeseen costs - staff training, for instance. • As with all computer systems, there is always the chance of associated hardware and/or software problems. Data can be lost through power failures or accidental deletion. Problems can also occur with viruses, hacking and fraud. • Online facility is not available.
  • 22. CONCLUSION After entering into the project, user is left with several options via – a) The user can take new connections. b) The user can view the existing lists of customers, which already have telephone connections. c) The user can of course see bills & take billing statements. d) The user can also do several administrative works like managing rates of calls, addition or modification of metered calls & customer entries. It is a computerized system, which can be used very easily & effectively by the administrators of the telephone billing system.
  • 23. SYSTEM DESIGN Then we began with the design phase of the system. System design is a solution, a “HOW TO” approach to the creation of a new system. It translates system requirements into ways by which they can be made operational. It is a translational from a user oriented document to a document oriented programmers. For that, it provides the understanding and procedural details necessary for the implementation. Here we use Flowchart to supplement the working of the new system. The system thus made should be reliable, durable and above all should have least possible maintenance costs. It should overcome all the drawbacks of the Old existing system and most important of all meet the user requirements. START MAHANAGAR TELEPHONE NIGAM D DISPLAY ABILL L LIST OF CUSTOMERS M RECORDS OF CUSTOMER Q QUIT IF CHOICE = 'D IF CHOICE= 'L' IF CHOICE = 'M' IF CHOICE ='Q' STOP DISPLAY THE BILLAMOUNT OF CUSTOMER DISPLAY LIST OF CUSTOMER DETAILS NEW/MODIFY/DELETE RECORD QUIT
  • 24. BIBLIOGRAPHY The great help from our faculty members and my project guide that led the successful completion of the project. Besides that, I took the help of some books and websites to develop the project. They are : -- Sumita Arora – Computer Science with C++ E. Balagurusami – C++ Robert Lafore – Turbo C++ website : www.cppforschool.com