Object Oriented Programming: Term Paper
Object Oriented Programming: Term Paper
Object Oriented Programming: Term Paper
OBJECT ORIENTED
PROGRAMMING
2008-2013
TOPIC:- Mobile Billing
Sy!e"
Submitted To:-
Submitted By:
Mr. Vikas Goyel
ANKUSH SHARMA
RO No.-B!"#$A%!
R&G No.-%#"#'()%
ACKNOWLEDGEMENT
I am bound to the CSE faculty for their stimulating support.
I would like to express my gratitude to all who gave me the possibility to
complete this paper. I want to thank department of CSE of lovely Professional
University for giving me permission to commence this term paper. I have further
more to thank the CSE faculty member !r. "ikas #oyel .
!y friends supported me in this term paper. I want to thank them
for their help support interest and valuable hints.
ANKUSH
SHARMA
Introduction With MOBILE Billing System
Wht do you understnd !y Mo!ile Billing"
In this pro$ect I have designed a simple mobile billing system using ob$ect
oriented programming technology.
%illing is the process of processing and rendering a bill. %illing
systems collect rate and calculate charges for use of telecommunications
services.
It will give the following information&' (he program will show all the functions
which the program will execute it will display the name of the person phone
number time and date on which the billing is done and for what the bill is paid.
#$OCESS DESC$I#TION
(he !obile %illing System is designed ) developed to collect rate and
calculate charges for use of telecommunications services. (his program will show
pay bill and charges options. *hen charges option is accessed it will display
various charges regarding internet facility local and S(+ charges. *hen pay bill
option is accessed it will ask for customer ,ame phone number no. of S!S-s
Sent no. of local and S(+ calls has been done by the customer. (here is one more
option to exit from that particular window.
#$OG$AMMING LANG%AGE
(he program is in C.. language. /ere in this program various tokens are used
such as &
0eywords& Compiler known variables.
User defined variables& User given variables.
1unctions& !ini repetitive block of statements.
Controlling statements& Using loops.
2perators& !athematical operating symbols.
Console i3o functions& input ) output functions
Constructor& (o initiali4e the variables.
Inheritance & multilevel
#$OG$AM CODING
#include<iostream.h>
#include<conio.h>
class xyz
{
public:
void use()
{
cout<<"\n!"#$%&"'
(
('
class abc:public xyz
{
private:
public:
)loat n*m*+*totalrs' char name,-./'lon0 int number*p' double
121*local*1$3*smsrs*localrs*stdrs'
abc()
{
cout<<"\n451$4!"3 671$52%#1"'
(
void )ront()
{
cout<<"\n2obile 8illin0 1ystem"'
cout<<"\n9.pay bill"'
cout<<"\n:.char0es"'
cout<<"\n;.%<"$"'
cout<<"\n\n%nter your choice "'
cin>>m'
i)(m==9)
{
paybill()'
(
else i)(m==:)
{
char0es()'
(
else i)(m==;)
{
0oto abc'
(
else i)(m==>)
{
)ront()'
(
abc:
(
void char0es()
{
clrscr()'
cout<<"\n internet char0es? ? ? ? ? ?#s.:@+b"'
cout<<"\n 121 char0es? ? ? ? ? ? ? ? ?#s.9@sms"'
cout<<"\n call char0es"'
cout<<"\n a) local char0es? ? ? ? ? ? #s. 9.-@min"'
cout<<"\n b) 1$3 char0es? ? ? ? ? ?#s. ;@min"'
cout<<"\n\nto continue %nter9 "'
cin>>n'
)ront()'
(
void paybill()
{
clrscr()'
cout<<"\n %nter Aame ? ? ? ? ? "'
cin>>name'
cout<<"\n %nter )irst )ive di0its o) phone Aumber? ? ? ?? ? "'
cin>>number'
cout<<"\n%nter last )ive di0its o) phone number"'
cin>>p'
cout<<"\n Ao. o) 121 sent ? ? ? ? ?? "'
cin>>121'
smsrs=9B121'
cout<<"\n calls"'
cout<<"\n a) &ocal calls? ? ? ?"'
cin>>local'
localrs=9.-Blocal'
cout<<"\n b) 1$3 calls? ? ? ? ?"'
cin>>1$3'
stdrs=;B1$3'
totalrs=localrsCsmsrsCstdrs'
cout<<"\n\nyour data is saved\npress 9 to see your bill "'
cin>>+'
clrscr()'
cout<<"\n\nAame "<<name'
cout<<"\n\nphone number "<<number<<""<<p'
cout<<"\n\ntype o) char0es "<<"number o)" <<"\t\tchar0es"'
cout<<"\n\nsms "<<121 <<"\t\t\t"<<smsrs'
cout<<"\n\nlocal calls "<<local <<"\t\t\t"<<localrs'
cout<<"\n\nstd calls "<<1$3 <<"\t\t\t"<<stdrs'
cout<<"\n\ntotal char0es "<<"\t"<<totalrs'
cout<<"\n\npress 9 to continue "'
cin>>n'
clrscr()'
)ront()'
(
('
void main()
{
clrscr()'
abc a'
a.use()'
a.)ront()'
0etch()'
(
&eture o' the (rogrm)*
56 /ighly Secures.
76 Efficient programming.
86 1astest implementation
96 It is eco'friendly as because of this the usage of paper decreases
:6 1ast billing services ) happy customers.
;6 Chances of disposing a record is less as papers can be disposed off easily.
*UTUR& S+O,& O* TH&
,RO-&+T
2ur pro$ect will be able to implement in future after making some
changes and modifications as we make our pro$ect at a very low level.
So the modifications that can be done in our pro$ect are&
(o make it screen touch so no need to touch key buttons and one more
change which can we made is to add snaps of the person who use it.
T&ST.NG
(esting is the ma$or control measure used during software development.
Its basic function is to detect errors in the software. +uring re<uirement
analysis and design the output is a document that is usually textual and
no executable. =fter the coding phase computer programs are available
that can be executed for testing purpose. (his implies that testing not
only has to uncover errors introduced during coding but also errors
introduced during previous phase. (hus the goal of testing is to uncover
the re<uirements design and coding errors in the programs. (he Source
code declared above for the program of mobile billing system has been
tested and it has been found that the above source code is okay and
correct. (he program involves many type of conversions .(hese
conversions has to done carefully.
R&*R&N+&S
%/ http://en.wikipedia.org/wiki/mobile_billing/
0/ http://www.mycplus.com/free-
utilities/mobile_blling/
$/ http://www.hotscripts.com/listing/graphical
-mobile-billing/