…………………………………………………………… …………………………………. Project Report On
GAS BOOKING SYSTEM
……………………. CLASS-…………….
ACKNOWLEDGEMENT I wo!" !#$e to con%e& '& (e)rt*! t()n$+ to …………………….. ,Co'pter Sc#ence w(o )!w)&+ )%e %)!)/!e + +e+ e+t# t#on on+ + 0 #" #")n )nce ce *o *or r co'p co'p!e !et# t#on on o* '& project. 1e (e!pe" 'e to n"er+t)n" 0 re'e'/er #'port)nt "et)#!+ o* t(e project. M& project ()+ /een ) +cce++ on!& /ec)+e o* (#+ #")nce. I )' e+pec#)!!& #n"ente" 0 I )' )!+o /e(o!"en to '& *r#en"+. An" 2n)!!& I t()n$ to t(e 'e'/er+ o* '& *)'#!& *or t(e#r +pport 0 encor)e'ent. encor)e'ent.
ACKNOWLEDGEMENT I wo!" !#$e to con%e& '& (e)rt*! t()n$+ to …………………….. ,Co'pter Sc#ence w(o )!w)&+ )%e %)!)/!e + +e+ e+t# t#on on+ + 0 #" #")n )nce ce *o *or r co'p co'p!e !et# t#on on o* '& project. 1e (e!pe" 'e to n"er+t)n" 0 re'e'/er #'port)nt "et)#!+ o* t(e project. M& project ()+ /een ) +cce++ on!& /ec)+e o* (#+ #")nce. I )' e+pec#)!!& #n"ente" 0 I )' )!+o /e(o!"en to '& *r#en"+. An" 2n)!!& I t()n$ to t(e 'e'/er+ o* '& *)'#!& *or t(e#r +pport 0 encor)e'ent. encor)e'ent.
CERTI3ICATE T(#+ #+ to cert#*& t()t ……………………….. o* c!)++ 4II o* ……………………………………………….. ()+ co'p!ete" (er project n"er '& +per%#+#on. S(e ()+ t)$en proper c)re 0 +(own +#ncer#t& #n co'p!et#on o* t(#+ project. I cert#*& cert#*& t()t t(#+ project project #+ p to '& e5pect)t#on 0 )+ per t(e #"e!#ne #++e" /& CBSE.
………………………………… (Computer Science faculty )
Content 1. Introduction 2. Source Code 3. Output 4. Requirement 5. d!anta"e# and di#ad!anta"e# $. Conclu#ion %. Sy#tem de#i"n
This project GAS BOOKING SYSTEM includes some facilities for the customer to get the required number of cylinders. and it will provide the facility of getting information about number of subsidy cylinders left. This software keep the records of all the customers and their information about how many time the booking of cylinders done. Objective of this software is to computerize the manual system of a Gas Agency so that all the transactions become fast and easy. !t replaces all the paper work. !t works according to the need and lowers the workload of user. Objective of the program is rather simple .!t provides easy management of transaction that are regular in a business concerned for which it have been developed. !t"s provides an easy navigation menu which a layman user can also use. !t manage the entire record along with date item code item cost etc. in this program there is a working mode available administrator. An administrator is as usual given all the rights like adding information modifying e#isting information deleting and viewing the information. !n this system clearly aims at reducing the paper work at the cost to be borne of the registers and other things are much
higher than the $ystem"s working. !ts keep record of all the information given to it according to the date which makes locating a record quite easy
//*************************************************************** // HEADER FILE USED IN PROJECT //**************************************************************** #include
//*******to inc$e&se o$ dece$ese t!e li'it st$uct conn7li'it c!&$ cust7$e(,-.0 int li'it0 40 st$uct +&n67t$&ns c!&$ +oo6no,-.0 c!&$ custconn,-.0 d&tein%o d&tesu+0 int &'ount0 +&n67in%o +&n6det&ils0 40 //**********st$uctu$e //********%unctions $oto)e 8oid 9$ite7cust7conn:;0 int (etcustno:;0 c!&$ *(et$e(:;0 int (etli'it:c!&$ conn,-.;0 8oid 'odi%)7CUSTin%o:c!&$ $e(no,-.;0 8oid delete7CUSTin%o:c!&$ $e(no,-.;0 8oid disl&)CONNo%CUST:c!&$ conn,-.;0 8oid disl&)CONNonl):c!&$ conn,-.;0 8oid +oo6')c)linde$:c!&$ con,-.;0 8oid cust7$eo$t7'enu:;0 8oid dec$e&seli'itonl):c!&$ conn,-.;0 8oid disl&)7c)l7d&te9ise:d&tein%o dtse&$c!;0 8oid disl&)7c)l7d&te9ise:d&tein%o dtse&$c!;0 8oid disl&)CONN79it!noCL:c!&$ conn,-.;0 //*************%unctions int c!ec6&ss:;0 8oid inc$7dec$:int 8&l=c!&$ c!oice;0 int st&tusc!ec6:c!&$ con,-.;0 8oid +oo6in(7'enu:;0 8oid int$o'&in:;0 8oid int$o:;0 8oid &d'in7'enu:;0 8oid custo'e$7'enu:;0 8oid disl&)&llCONN:;0 8oid li'itc!&n(e:c!&$ cust$e(,-.=int l';0 c!&$ *(et+oo6$e(:;0 8oid %in&li>edc)l:c!&$ conn,-.;0 c!&$ *(etst&tus:c!&$ cn,-.;0 8oid disl&)7custli'it:c!&$ cust$e(,-.=int;0 8oid c$e&te+&n6t$&nsc:c!&$ con3,-.=+&n67in%o +&n67in%o$=int su+7&'t3=d&tein%o d&te-;0 +&n67in%o (et+&n6det&ils:c!&$ cn,-.;0 8oid don&$list:int c=d&tein%o ?DT=d&tein%o DDT=c!&$ st&t,-.;0 //*************%unctions //*************************** //************cl&ss custo'e$ connection cl&ss custo'e$ //int dono0 int custno0 c!&$ cust7$e(ist,-.0 n&'ein%o n'0 &dd$ess &dd0 d&tein%o d&te-0 ot!e$in%o ot!e$0 +&n67in%o +6in%o0 %lo&t conn7&'ount0 c!&$ st&tus0 u+lic@ custo'e$:; custno20 conn7&'ount2220 4 8oid set+&n6in%o:+&n67in%o +6-;
st$c):+6in%o+&n6n&'e=+6-+&n6n&'e;0 st$c):+6in%o&cctno=+6-&cctno;0 st$c):+6in%o+$&nc!=+6-+$&nc!;0 +6in%oi%sc+6-i%sc0 4 int (etcustno3:; $etu$n custno0 4 //************NEB CUSTOER CONNECTION 8oid c$e&te7CUST7CONNECTION:int dn-; (oto):.=1;0 cout<<0 (oto):-=;0 cout<<CUST NO@0 custnodn-0 (oto):-2=;0 cout<
cout<<O?ILE NO@0 (oto):-.=-1;0 cin""ot!e$'o+no0 (oto):-=-;0 cout<<EKAIL:IF NO ENTER NO;@0 (oto):52=-;0 cin""ot!e$e'&il0 i%:st$c':ot!e$e'&il=NO;2st$c':ot!e$e'&il=no;2; st$c):ot!e$e'&il=NO EAIL ID;0 cini(no$e:;0 (oto):-=-;0 cout<<AADHAAR NO@ 0 //(oto):-.=32;0 cin(etline:ot!e$&&d!&&$=32;0 (oto):-2=32;0 cout<<KKKKKKKKKKKKKKKKK?AN INFORATIONKKKKKKKKKKKKKKKKKKKKKK0 (oto):-=3-;0 cini(no$e:;0 cout<<?AN NAE@@0 (oto):-.=3-;0 cin(etline:+6in%o+&n6n&'e=.2;0 (oto):G.=3-;0 cini(no$e:;0 cout<<?RANCH NAE@@0 (oto):2=3-;0 cin(etline:+6in%o+$&nc!=32;0 (oto):-=33;0 cout<<ACCOUNT NO@@0 (oto):-.=33;0 cin""+6in%o&cctno0 (oto):G.=33;0 cout<<IFSC CODE@0 (oto):.=33;0 cin""+6in%oi%sc0 (oto):.=35;0 cout<<AOUNT OF CONNECTION@@ 0 cin""conn7&'ount0 st&tus0 4 //************NEB CUSTOER CONNECTION //***********disl&) custo'e$ in%o 8oid disl&)7cust7conn:; (oto):.=1;0 cout<<0 (oto):-=;0 cout<<CONN NO@0 (oto):-3=;0 cout<
cout<<EKAIL@0 (oto):-2=--;0 cout<
//************disl&) custo'e$ in%o 9it! +&n6 det&lis //*********disl&) custo'e$ $o9 9ise 8oid s!o9&llcust$o99ise:int c; (oto):-=c;0 cout<
4 c!&$ *(et+6no:; $etu$n +6no0 4 c!&$ *(etcustconn:; $etu$n custconn0 4 c!&$ *(ett!est&tus:; $etu$n st&tus0 4 8oid sett!est&tus:; st$c):st&tus=Dele$i8ed;0 4 d&tein%o (et+oo6d&te:; $etu$n +oo6d&te0 4 d&tein%o (etdeli8e$d&te:; $etu$n deli8e$d&te0 4 8oid setdeli8e$:d&tein%o d-; deli8e$d&ted-0 4 //*************+oo6in( sli 8oid c$e&te7+oo6sli:c!&$ c7$e(,-.=int os; (oto):.=os;0 cout<<0 ososQ-0 (oto):-=os;0 cout<<?ONO@0 (oto):-2=os;0 cin""+6no0 (oto):32=os;0 cout<<CUSTOER CONNECTION@0 (oto):G=os;0 st$c):custconn=c7$e(;0 cout<ont&l:int c-;
(oto):-=c-;0 cout<<+6no<
cout<<PLEASE ENTER THE PASSBORD@0 (oto):32=3-;0 cin""&ss0 i%:st$c':n'=&d'in;2 st$c':&ss=8ic6);2; $etu$n 20 4else $etu$n -0 4 4 //******************************************************************** 8oid int$o'&in:; cl$sc$:;0 (oto):-=3;0 cout<<*************************?LOOD******DONATION********SSTE********************0 (oto):-=5;0 cout<<******************************************************************************0 4 //***************'&in int$o //*************************************************************** // INTRODUCTION FUNCTION //**************************************************************** 8oid int$o:; cl$sc$:;0 (oto):G=3;0 cout<<****************************AS CLINDER ?OOIN************************0 (oto):-3=G;0 cout<<0 (oto):.=.;0 cout<<****************************SSTE********************************0 (oto):.2=-2;0 cout<<PROJECT@0 (oto):.2=-3;0 cout<<ADE ? @ KKKKKKKKKKKKKKKKKKKK0 (oto):-2=-G;0 cout<<KKKKKKKKKKKKKKKCLASS @ II KKKKKKKKKKKKKKKKKKKK0 (etc!:;0 4 //*************************************************************** // ADINSTRATOR ENU FUNCTION //**************************************************************** 8oid &d'in7'enu:; cl$sc$:;0 c!&$ c!30 cl$sc$:;0 int$o'&in:;0 (oto):-3=;0 cout<<ADIN ENU0 (oto):-3=1;0 cout<<-CUSTOER CONNECTION INFORATION0 (oto):-3=;0 cout<<3?OOIN SSTE/FINALIATION/INCREASE OR DECREASE CLINDER LIIT0 (oto):-3=;0 cout<<5?AC TO AIN ENU0 (oto):-3=-2;0 cout<<Ple&se Ente$ ou$ C!oice :-K5; 0 (oto):33=--;0 //********************************************************** c!3(etc!e:;0 s9itc!:c!3; c&se -@ custo'e$7'enu:;0 +$e&60 c&se 3@ +oo6in(7'enu:;0 +$e&60
de%&ult@ cout<<&0//&d'in7'enu:;0 4 4 //*************************************************************** // DONARS INFORATION ADD / ODIF / DELETE //**************************************************************** 8oid custo'e$7'enu:; cl$sc$:;0 c!&$ c!30 c!&$ $e(no,-.0 //************************************************************ cl$sc$:;0 int$o'&in:;0 (oto):32=;0 cout<<CUSTOERS ENU0 (oto):33=1;0 cout<<-ADD CUSTOER CONNECTION INFORATION0 (oto):33=;0 cout<<3ODIF CUSTOER INFORATION0 (oto):33=;0 cout<<5DELETE CUSTOER INFORATION0 (oto):33=-2;0 cout<<G?AC TO AIN ENU0 (oto):33=--;0 cout<<Ple&se Ente$ ou$ C!oice :-KG; 0 (oto):33=-3;0 //********************************************************** c!3(etc!e:;0 s9itc!:c!3; c&se -@ cl$sc$:;0 9$ite7cust7conn:;0 +$e&60 c&se 3@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE RE NO OF CONNECTION NO TO ?E SEARCHED@0 (oto):..=;0 cin""$e(no0 'odi%)7CUSTin%o:$e(no;0 +$e&60 c&se 5@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE CONNECTION NO OF CUSTOER TO ?E SEARCHED AND DELETE@0 (oto):..=;0 cin""$e(no0 delete7CUSTin%o:$e(no;0 +$e&60 de%&ult@ cout<<&0//&d'in7'enu:;0 4 4 //*************************************************************** //********************+oo6in( 'enu 8oid +oo6in(7'enu:; cl$sc$:;0 int 8&lue20 c!&$ c!3=c!0 c!&$ conn,-.0 //************************************************************ cl$sc$:;0 int$o'&in:;0 (oto):32=;0
cout<<?OOIN ENU0 (oto):33=1;0 cout<<-?OOIN OF CLINDER0 (oto):33=;0 cout<<3FINALIATION AFTER CLINDER DELIVERED0 (oto):33=;0 cout<<5INCREASE OR DECREASE THE SU?SID CLINDER LIIT0 (oto):33=-2;0 cout<<G?AC TO AIN ENU0 (oto):33=--;0 cout<<Ple&se Ente$ ou$ C!oice :-KG; 0 (oto):33=-3;0 //********************************************************** c!3(etc!e:;0 s9itc!:c!3; c&se -@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE CONNECTION NO TO ?E SEARCHED@0 (oto):..=;0 cin""conn0 +oo6')c)linde$:conn;0 +$e&60 c&se 3@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE CONNECTION NO TO ?E FINALIED@0 (oto):..=;0 cin""conn0 %in&li>edc)l:conn;0 +$e&60 c&se 5@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE LIIT TO INCR OR DECR:/N; AND VALUE OF LIIT@0 (oto):-2=;0 cout<<Ente$ t!e c!oice :/); to INCREASE &nd :N/n; to Dec$&se0 cin""c!0 (oto):-2=-2;0 cout<<Ple&se ente$ t!e li'it 8&lue@0 cin""8&lue0 inc$7dec$:8&lue=c!;0 +$e&60 de%&ult@ cout<<&0 4 4 //********************+oo6in( 'enu //*****************&dd ne9 $e(iste$ed don&$s in%o$'&tion 8oid 9$ite7cust7conn:; o%st$e&' o+Mo%%0 custo'e$ custo+M0 conn7li'it conl'0 int l'20 o+Mo%%oen:custo'e$d&t=ios@@+in&$)ios@@&;0 o%st$e&' o+Mo%%list:connli'itd&t=ios@@+in&$)ios@@&;0 cl$sc$:;0 int$o'&in:;0 int $nn(etcustno:;0 c!&$ (et$87$e(no,-.0 st$c):(et$87$e(no=(et$e(:;;0 i%:st$c':(et$87$e(no=NULL;2; (oto):.=G;0 cout<<P$e8ious RENO@ <<(et$87$e(no0 4 i%:$nn"-2222;
$nn-0 4 custo+Mc$e&te7CUST7CONNECTION:$nn;0 (oto):.=35;0 cout<<NO OF CLINDERS@@ 0cin""l'0 conl'li'itl'0 o+Mo%%9$ite::c!&$*;custo+M=si>eo%:custo'e$;;0 //************9$ite to cust li'it list &lso st$c):conl'cust7$e(=custo+M(etcust$e(:;;0 o+Mo%%list9$ite::c!&$*;conl'=si>eo%:conn7li'it;;0 o+Mo%%close:;0 o+Mo%%listclose:;0 (oto):-2=3G;0 cout<<***************RECORD SAVED******************* 0 cini(no$e:;0 (etc!:;0 4 //*****************&dd ne9 $e(iste$ed don&$s in%o$'&tion //*************(et t!e custo'e$ no int (etcustno:; i%st$e&' o+Mi%%0 custo'e$ st0 int count20 o+Mi%%oen:custo'e$d&t=ios@@+in&$);0 o+Mi%%see6(:2=ios@@+e(;0 i%:o+Mi%%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 4 //**************te'o$&$) !idin( t!ese lines 9!ile:o+Mi%%$e&d::c!&$ *; st= si>eo%:custo'e$;;; countQQ0 4 //***********Mu' to t!e l&st line o+Mi%%see6(:countKsi>eo%:st;=ios@@+e(;0 o+Mi%%$e&d::c!&$ *; st= si>eo%:custo'e$;;0 countst(etcustno3:;0 countQQ0 o+Mi%%close:;0 $etu$n count0 4 //*************(et t!e custo'e$ $e((st //************(et t!Me don&$s l&st nu'+e$**************** c!&$ *(et$e(:; i%st$e&' o+Mi%%0 custo'e$ st0 int count20 c!&$ t'$e(no,-.0 o+Mi%%oen:custo'e$d&t=ios@@+in&$);0 o+Mi%%see6(:2=ios@@+e(;0 i%:o+Mi%%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 4 //**************te'o$&$) !idin( t!ese lines 9!ile:o+Mi%%$e&d::c!&$ *; st= si>eo%:custo'e$;;; countQQ0 4 //***********Mu' to t!e l&st line o+Mi%%see6(:countKsi>eo%:st;=ios@@+e(;0 o+Mi%%$e&d::c!&$ *; st= si>eo%:custo'e$;;0 st$c):t'$e(no=st(etcust$e(:;;0 o+Mi%%close:;0
i%:count2; $etu$n t'$e(no0 else $etu$n NULL0 4 //************(et t!Me don&$s l&st nu'+e$**************** //************************************ //***************ODIF CUSTOER INFORATION 8oid 'odi%)7CUSTin%o:c!&$ $e(no,-.; c!&$ c!30 cl$sc$:;0 int$o'&in:;0 %st$e&' %0 %oen:custo'e$d&t=ios@@+in&$)ios@@inios@@out;0 +&n67in%o +6t'0 custo'e$ d$0 n&'ein%o n'in%o0 &dd$ess &d-0 c!&$ '+,-.=eid,1.=ADH,320 int %osK-=&(20 int %l&(K-0//%l&(+loodK-0 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=$e(no;2; %l&(-0 %os:int;%tell(:;0 +$e&60 4 4 i%:%l&(-; %see6:%osKsi>eo%:custo'e$;=ios@@+e(;0 d$disl&)7cust7conn:;0 //KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK (oto):32=-5;0 cout<<CONNECTIONS ODIFICATION ENU0 (oto):33=-G;0 cout<<-ODIF NAE0 (oto):33=-.;0 cout<<3ODIF AE0 (oto):33=-;0 cout<<5ODIF ADDRESS0 (oto):33=-1;0 cout<<GODIF O?ILE NO0 (oto):33=-;0 cout<<.ODIF EAIL0 (oto):33=-;0 cout<<ODIF AADHAAR NO@0 (oto):33=32;0 cout<<1ODIF ?AN INFO0 (oto):33=3-;0 cout<<Ple&se Ente$ ou$ C!oice :-K1; 0 (oto):33=33;0 //********************************************************** c!3(etc!e:;0 cl$sc$:;0 int$o'&in:;0 d$disl&)7cust7conn:;0 s9itc!:c!3; c&se -@ (oto):32=-5;0
cout<<ENTER THE FIRST NAE TO ODIF@ 0cin""n'in%o%n&'e0 (oto):32=-G;0 cout<<ENTER THE LAST NAE TO ODIF@ 0cin""n'in%oln&'e0 d$set%ulln&'e:n'in%o;0 +$e&60 c&se 3@ (oto):32=-5;0 cout<<ENTER THE AE TO ODIF@ 0cin""&(0 d$set&(e:&(;0 +$e&60 c&se 5@ (oto):32=-5;0 cout<<ENTER THE HNO TO ODIF@ 0cin""&d-!no0 (oto):32=-G;0 cout<<ENTER THE CIT TO ODIF@ 0cin""&d-cit)0 (oto):32=-.;0 cout<<ENTER THE STATE TO ODIF@ 0cin""&d-st&te0 d$set&dd$ess:&d-;0 +$e&60 c&se G@ (oto):32=-5;0 cout<<ENTER THE O?ILE TO ODIF@ 0cin""'+0 d$set'o+ileno:'+;0 +$e&60 c&se .@ (oto):32=-5;0 cout<<ENTER THE EAIL TO ODIF@ 0cin""eid0 d$sete'&il:eid;0 +$e&60 c&se @ (oto):32=-5;0 cout<<ENTER THE AADHAAR NO TO ODIF@ 0cin""ADH0 d$set&&d!&$:ADH;0 //%l&(+lood-0 +$e&60 c&se 1@ (oto):32=-5;0 cout<<ENTER THE ?AN DETAILS TO ?E ODIF@0 (oto):.=-G;0 cini(no$e:;0 cout<<?AN NAE@@ 0 cin(etline:+6t'+&n6n&'e=.2;0 (oto):.=-.;0 cout<<?AN ?RANCH@@ 0 cin""+6t'+$&nc!0 (oto):.=-;0 cout<<ACCOUNT NO@@ 0 cin""+6t'&cctno0 (oto):.=-1;0 cout<<IFSC@@ 0 cin""+6t'i%sc0 d$set+&n6in%o:+6t';0 +$e&60 de%&ult@ cout<<&0//&d'in7'enu:;0 4 %9$ite::c!&$ *; d$= si>eo%:custo'e$;;0 4 %close:;0 cout<<*****************'odi%ied t!e $eco$d******************0 (etc!:;0 4 //***************ODIF CUSTOER INFORATION //****************deletion o% t!e custo'e$ connection //***************delete don&$s in%o$'&tion 8oid delete7CUSTin%o:c!&$ $e(no,-.; cl$sc$:;0 int$o'&in:;0 i%st$e&' %0
custo'e$ d$0 int %l&(20 %oen:custo'e$d&t=ios@@+in&$);0 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=$e(no;2; %l&(-0 +$e&60 4 4 c!&$ c!0 i%:%l&(2; cout<<nn$eco$d not eist0 %close:;0 4else d$disl&)7cust7conn:;0 %close:;0 //*******deletion o% t!e $eco$ds st&$ts %$o' !e$e (oto):-=-.;0 cout<<*****************************************************************************0 (oto):.=-;0 cout<<DO OU BANT TO DELETE THE RECORDS IVEN A?OVE,ES:; OR NO :N;0 (oto):3=-1;0 cin""c!0 i% :toue$:c!;; o%st$e&' outFile0 outFileoen:Te'-d&t=ios@@+in&$);0 i%st$e&' o+Mi%%:custo'e$d&t=ios@@+in&$);0 o+Mi%%see6(:2=ios@@+e(;0 9!ile:o+Mi%%$e&d::c!&$ *; d$= si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=$e(no;2; outFile9$ite::c!&$ *; d$= si>eo%:custo'e$;;0 4 4 outFileclose:;0 o+Mi%%close:;0 $e'o8e:custo'e$d&t;0 $en&'e:Te'-d&t=custo'e$d&t;0 //&(&inoen&ndclose:;0 (oto):52=32;0 cout<<KKKKKKKKKKKKKKKKKKKKKKKKKKKKReco$d DeletedKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK0 (etc!:;0 4 4 4 //****************deletion o% t!e custo'e$ connection //******************&ll $eo$ts disl&) !e$e 8oid cust7$eo$t7'enu:; cl$sc$:;0 c!&$ c!30 // c!&$ $e(no,-.0 c!&$ conn,-.0//=ct),5.0 d&tein%o d&tese&$c!0 //************************************************************ cl$sc$:;0 int$o'&in:;0 (oto):32=;0
cout<<REPORTS0 (oto):33=1;0 cout<<-ALL CONNECTION INFORATION 0 (oto):33=;0 cout<<3CUSTOER INFORATION ? CONNECTION NO0 (oto):33=;0 cout<<5CUSTOER INFORATION AND NO CLINDER DELEVERED OR PENDIN0 (oto):33=-2;0 cout<<GDISPLA CLINDER ?OOIN DELEVERED OR PENDIN DATE BISE0 (oto):33=--;0 cout<<.DISPLA CUSTOER INFORATION BITH NO OF SU?SID LIITS LEFT0 (oto):33=-3;0 cout<<?AC TO AIN ENU0 (oto):33=-5;0 cout<<Ple&se Ente$ ou$ C!oice :-K; 0 (oto):33=-G;0 //********************************************************** c!3(etc!e:;0 s9itc!:c!3; c&se -@ cl$sc$:;0 int$o'&in:;0 disl&)&llCONN:;0 +$e&60 c&se 5@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE CONNECTION NO TO ?E SEARCHED@0 (oto):..=;0 cin""conn0 disl&)CONN79it!noCL:conn;0 +$e&60 c&se 3@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE CONNECTION NO TO ?E SEARCHED@0 (oto):..=;0 cin""conn0 disl&)CONNo%CUST:conn;0 +$e&60 c&se G@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE d&te9ise TO ?E SEARCHE o% c)linde$ +oo6in(s@0 (oto):-2=;0 cout<<KKKKKKKKKKKKKKKKKDATE OF SEARCHKKKKKKKKKKKKKKKKKKKKKK0 (oto):-2=-2;0 cout<<DATE:dd/''/))));@0 (oto):52=-2;0 cin""d&tese&$c!dd0 (oto):5.=-2;0 cout<</0 (oto):G2=-2;0 cin""d&tese&$c!''0 (oto):G.=-2;0 cout<</0 (oto):.2=-2;0 cin""d&tese&$c!))0 disl&)7c)l7d&te9ise:d&tese&$c!;0 +$e&60 c&se .@ cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<*****ENTER THE CONNECTION NO TO ?E SEARCHED@0
(oto):..=;0 cin""conn0 disl&)7custli'it:conn=-5;0 +$e&60 4 4 //******************&ll $eo$ts disl&) !e$e //***********disl&) &ll 9o$6in( connections 8oid disl&)&llCONN:; i%st$e&' o+Mi%%:custo'e$d&t=ios@@+in&$);0 custo'e$ +lst60 i%:o+Mi%%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 cl$sc$:;0 int$o'&in:;0 int c-.0 (oto):-=c-;0 cout<<CUST CONNNO<eo%:custo'e$;;; (oto):.=c-;0 +lst6s!o9&llcust$o99ise:c-;0 c-QQ0 4 o+Mi%%close:;0 (etc!:;0 4 //***********disl&) &ll 9o$6in( connections //****************DISPLA CUSTOER ? CONN SEARCH 8oid disl&)CONNo%CUST:c!&$ conn,-.; i%st$e&' %0 %oen:custo'e$d&t=ios@@+in&$);0 custo'e$ d$0 c!&$ c!20 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 cout<<DISPLA DETAILS BITH OR BOTHOUT ?AN DETAILS://N;W0 (oto):-2=-2;0 cin""c!0 i%:c!N c!n; 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=conn;2; cl$sc$:;0 int$o'&in:;0 d$disl&)7cust7conn:;0 4 4 4else i%:c! c!); 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=conn;2;
cl$sc$:;0 int$o'&in:;0 d$disl&)7cust7conn7+&n6:;0 4 4 4 %close:;0 4 //****************DISPLA CUSTOER ? CONN SEARCH //*****************to c!&n(e t!e li'it o% c)linde$ 8oid li'itc!&n(e:c!&$ cust$e(,-.=int l'; %st$e&' %0 conn7li'it cnl'0 int %l&(K-0 int %os20 %oen:connli'itd&t=ios@@+in&$)ios@@inios@@out;0 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 //**********se&$c! 9!ile:%$e&d::c!&$*;cnl'=si>eo%:conn7li'it;;; i%:st$c':cnl'cust7$e(=cust$e(;2; %l&(-0 %os:int;%tell(:;0 +$e&60 4 4 i%:%l&(-; cnl'li'itcnl'li'itQl'0 %see6:%osKsi>eo%:custo'e$;=ios@@+e(;0 //**********se&$c! %9$ite::c!&$ *; cnl'= si>eo%:conn7li'it;;0 4 %close:;0 4 //*****************to c!&n(e t!e li'it o% c)linde$ //*****************disl&) custo'e$ in%o$'&tion 9it! li'its 8oid disl&)7custli'it:c!&$ cust$e(,-.=int P; cl$sc$:;0 int$o'&in:;0 %st$e&' %0 i%st$e&' o+Mi%%0 %oen:custo'e$d&t=ios@@+in&$)ios@@inios@@out;0 o+Mi%%oen:connli'itd&t=ios@@+in&$);0 custo'e$ d$0 conn7li'it cnl'0 int %l&(K-=%l&(3K-=%os20 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=cust$e(;2; %l&(-0 %os:int;%tell(:;0 +$e&60 4
4 i%:%l&(-; %see6:%osKsi>eo%:custo'e$;=ios@@+e(;0 d$disl&)7cust7conn:;0 //KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK 9!ile:o+Mi%%$e&d::c!&$*;cnl'=si>eo%:conn7li'it;;; i%:st$c':cnl'cust7$e(=cust$e(;2; %l&(3-0 +$e&60 4 4 i%:%l&(3-; //KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK (oto):32=P;0 cout<<CUSTOER CLINDER SU?SID LIITS LEFT0 PPQ-0 (oto):.=P;0 cout<<no o% c)linde$s le%t@ <eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=conn;2; d$disl&)7cust7conn:;0 +$e&60 4 4 %close:;0 4 //************(et t!e +oo6in l&st nu'+e$**************** c!&$ *(et+oo6$e(:; i%st$e&' o+Mi%%0 +oo6in(sli st0 int count20 c!&$ t'$e(no,-.0 o+Mi%%oen:+oo6in(d&t=ios@@+in&$);0 o+Mi%%see6(:2=ios@@+e(;0 i%:o+Mi%%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 4 //**************te'o$&$) !idin( t!ese lines 9!ile:o+Mi%%$e&d::c!&$ *; st= si>eo%:+oo6in(sli;;;
countQQ0 4 //***********Mu' to t!e l&st line o+Mi%%see6(:countKsi>eo%:st;=ios@@+e(;0 o+Mi%%$e&d::c!&$ *; st= si>eo%:+oo6in(sli;;0 st$c):t'$e(no=st(et+6no:;;0 o+Mi%%close:;0 i%:count2; $etu$n t'$e(no0 else $etu$n NULL0 4 //************(et t!Me +oo6in( l&st nu'+e$**************** //****************(et t!e st&tus o% t!e connection +oo6in( c!&$ *(etst&tus:c!&$ cn,-.; int %l&(K-0 i%st$e&' o+Mi%%0 +oo6in(sli st0 c!&$ *t'8&$NOT0 o+Mi%%oen:+oo6in(d&t=ios@@+in&$);0 o+Mi%%see6(:2=ios@@+e(;0 i%:o+Mi%%; cout<<File could not +e oen P$ess &n) e)0 st$c):t'8&$=NOT;0 $etu$n t'8&$0 4 //**************te'o$&$) !idin( t!ese lines 9!ile:o+Mi%%$e&d::c!&$ *; st= si>eo%:+oo6in(sli;;; i%:st$c':st(etcustconn:;=cn;2; %l&(-0 +$e&60 4 4 i%:%l&(K-; cout<<$eco$d not eist0 st$c):t'8&$=NOT;0 $etu$n t'8&$0 4else i%:st$c':st(ett!est&tus:;=Pendin(;2; st$c):t'8&$=Pendin(;0 4 else st$c):t'8&$=Deli8e$ed;0 4 4 o+Mi%%close:;0 $etu$n t'8&$0 4 //****************(et t!e st&tus o% t!e connection +oo6in( int (etli'it:c!&$ conn,-.; i%st$e&' o+Mi%%0 o+Mi%%oen:connli'itd&t=ios@@+in&$);0 conn7li'it cnl'0 int %l&(3K-=%l&(20 9!ile:o+Mi%%$e&d::c!&$*;cnl'=si>eo%:conn7li'it;;; i%:st$c':cnl'cust7$e(=conn;2; %l&(3-0 +$e&60 4 4
i%:%l&(3-; %l&(cnl'li'it0 4 o+Mi%%close:;0 $etu$n %l&(0 4 //*************DECREASE THE LIIT 8oid dec$e&seli'itonl):c!&$ conn,-.; %st$e&' o+Mi%%0 o+Mi%%oen:connli'itd&t=ios@@+in&$)ios@@inios@@out;0 conn7li'it cnl'0 int %l&(3K-=os20 9!ile:o+Mi%%$e&d::c!&$*;cnl'=si>eo%:conn7li'it;;; i%:st$c':cnl'cust7$e(=conn;2; %l&(3-0 os:int;o+Mi%%tell(:;0 +$e&60 4 4 i%:%l&(3-; cnl'li'itcnl'li'itK-0 o+Mi%%see6:osKsi>eo%:conn7li'it;=ios@@+e(;0 o+Mi%%9$ite::c!&$ *; cnl'= si>eo%:conn7li'it;;0 4 o+Mi%%close:;0 4 //*************DECREASE THE LIIT //***************+oo6in( c)linde$ 8oid +oo6')c)linde$:c!&$ con,-.; int %l&(K-0 int su+7&'t20 o%st$e&' o+Mo%%=+&n6o%%0 +oo6in(sli +oo67o+M0 o+Mo%%oen:+oo6in(d&t=ios@@+in&$)ios@@&;0 d&tein%o d&te-0 +&n67in%o +&n67in%o$'&tion0 i%:st$c':(etst&tus:con;=Pendin(;2; cl$sc$:;0 int$o'&in:;0 (oto):-2=-2;0 cout<<OUR CLINDER IS ALREAD ?OOED THN UKK P$ess &n) e)0 (etc!:;0 4else i%:(etli'it:con;<2; disl&)7custli'it:con=-G;0 (oto):-2=-;0 cout<<NOT ET THE SU?SID ON CLINDERS0 %l&(-0 4 else disl&)7custli'it:con=-G;0 +&n67in%o$'&tion(et+&n6det&ils:con;0 (oto):-2=-;0 cout<<ENTER THE SU?SID ON CLINDERS@@0cin""su+7&'t0 %l&(20 4 i%:%l&(-; //********9it!out su+side) c)linde$
(oto):=-1;0 cout<<P$e8io ?oo6in( no@<<(et+oo6$e(:;0 +oo67o+Mc$e&te7+oo6sli:con=-;0 o+Mo%%9$ite::c!&$*;+oo67o+M=si>eo%:+oo6in(sli;;0 4else // 9it! su+side) c)linde$ (oto):=-1;0 cout<<P$e8io ?oo6in( no@<<(et+oo6$e(:;0 +oo67o+Mc$e&te7+oo6sli:con=-;0 d&te-+oo67o+M(et+oo6d&te:;0 o+Mo%%9$ite::c!&$*;+oo67o+M=si>eo%:+oo6in(sli;;0 c$e&te+&n6t$&nsc:con=+&n67in%o$'&tion=su+7&'t=d&te-;0 dec$e&seli'itonl):con;0 //************su+sid) ent$) in & +&n6 &ccount 4 4 o+Mo%%close:;0 (etc!:;0 4 //************+&n6 t$&nsc&tions det&ils 8oid c$e&te+&n6t$&nsc:c!&$ con3,-.=+&n67in%o +&n67in%o$=int su+7&'t3=d&tein%o d&te-; o%st$e&' +&n6o%%0 +&n6o%%oen:su+sid)to+&n6d&t=ios@@+in&$)ios@@&;0 +&n67t$&ns +&n6su+sid)0 st$c):+&n6su+sid)custconn=con3;0 +&n6su+sid)+&n6det&ils+&n67in%o$0 +&n6su+sid)&'ountsu+7&'t30 +&n6su+sid)d&tesu+d&te-0 +&n6o%%9$ite::c!&$*;+&n6su+sid)=si>eo%:+&n67t$&ns;;0 +&n6o%%close:;0 4 //************************************* //****************(et t!e +&n6 det&ils o% custo'e$ +&n67in%o (et+&n6det&ils:c!&$ cn,-.; +&n67in%o t'+60 //***************************** i%st$e&' %0 %oen:custo'e$d&t=ios@@+in&$);0 custo'e$ d$0 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=cn;2; t'+6d$(et+&n6:;0 +$e&60 4 4 %close:;0 //***************************** $etu$n t'+60 4 //******************disl&) connection 9it! no o% c)linde$ 8oid disl&)CONN79it!noCL:c!&$ conn,-.; i%st$e&' %0 %oen:custo'e$d&t=ios@@+in&$);0 i%st$e&' o+Mi%%:+oo6in(d&t=ios@@+in&$);0 custo'e$ d$0 int %l&(K-0 +oo6in(sli +oo67o+M0 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 cl$sc$:;0
int$o'&in:;0 (oto):-2=;0 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=conn;2; d$disl&)7cust7conn:;0 %l&(-0 +$e&60 4 4 %close:;0 i%:%l&(-; (oto):.=-5;0 cout<<KKKKKKKKKKKKKKKKKKKLIST OF CLINDERS ?OOINSKKKKKKKKKKKKKKKKKKKKK0 (oto):.=-G;0 cout<<?OOIN DATEKDATE OF DELIVERK<<STATUS0 //********************************* int c--.0 9!ile:o+Mi%%$e&d::c!&$*;+oo67o+M=si>eo%:+oo6in(sli;;; i%:st$c':conn=+oo67o+M(etcustconn:;;2; don&$list:c-=+oo67o+M(et+oo6d&te:;=+oo67o+M(etdeli8e$d&te:;=+oo67o+M(ett!est&tus:;;0 c-QQ0 4 4 //********************************* 4 o+Mi%%close:;0 4 //******************disl&) connection 9it! no o% c)linde$ 8oid don&$list:int c=d&tein%o ?DT=d&tein%o DDT=c!&$ st&t,-.; i%:st$c':st&t=Pendin(;2; (oto):.=c;0 cout<<K<
9!ile:o+Mi%%$e&d::c!&$*;+oo67o+M=si>eo%:+oo6in(sli;;; ?DT+oo67o+M(et+oo6d&te:;0 i%:dtse&$c!dd?DTdd dtse&$c!''?DT'' dtse&$c!))?DT)); DDT+oo67o+M(etdeli8e$d&te:;0 i%:st$c':+oo67o+M(ett!est&tus:;=Pendin(;2; (oto):.=c-;0
cout<<KK<<+oo67o+M(etcustconn:;<<KKKKKKK<
cout<<KK<<+oo67o+M(etcustconn:;<<KKKKKKK<e t!e +oo6in( sli 8oid %in&li>edc)l:c!&$ conn,-.; i%st$e&' %0 %oen:custo'e$d&t=ios@@+in&$);0 %st$e&' o+Mi%%:+oo6in(d&t=ios@@+in&$)ios@@inios@@out;0 custo'e$ d$0 int %l&(K-=%l&(3K-0 +oo6in(sli +oo67o+M0 i%:%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 cl$sc$:;0 int$o'&in:;0 (oto):-2=;0 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=conn;2; d$disl&)7cust7conn:;0 %l&(-0 +$e&60 4 4 %close:;0 //***********************disl&) t!e +oo6in( sli d&tein%o ?DT=DDT=d&te-0 i%:%l&(-; i%:o+Mi%%; cout<<File could not +e oen P$ess &n) e)0 (etc!:;0 $etu$n0 4 (oto):.=-5;0 cout<<KKKKKKKKKKKKKKKKKKKCLINDERS ?OOINS SLIPKKKKKKKKKKKKKKKKKKKKK0 (oto):.=-G;0 cout<<KKCONNECTION NO?OOIN DATEKDATE OF DELIVERK<<STATUS0
//********************************* (oto):.=-.;0 cout<<KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK0 int c--=os20 9!ile:o+Mi%%$e&d::c!&$*;+oo67o+M=si>eo%:+oo6in(sli;;; ?DT+oo67o+M(et+oo6d&te:;0 i%:st$c':conn=+oo67o+M(etcustconn:;;2; DDT+oo67o+M(etdeli8e$d&te:;0 i%:st$c':+oo67o+M(ett!est&tus:;=Pendin(;2; (oto):.=c-;0 cout<<KK<<+oo67o+M(etcustconn:;<<KKKKKKK<eo%:+oo6in(sli;=ios@@+e(;0 (oto):.=c-;0 cout<<PLEASE ENTER THE DATE OF DELIVER OF CLINDER0 c-c-Q-0 (oto):-2=c-;0 cout<<DATE:dd/''/))));@0 (oto):52=c-;0 cin""d&te-dd0 (oto):5.=c-;0 cout<</0 (oto):G2=c-;0 cin""d&te-''0 (oto):G.=c-;0 cout<</0 (oto):.2=c-;0 cin""d&te-))0 +oo67o+Msetdeli8e$:d&te-;0 +oo67o+Msett!est&tus:;0 o+Mi%%9$ite::c!&$ *; +oo67o+M= si>eo%:+oo6in(sli;;0 4 4 o+Mi%%close:;0 //***************************************************** (etc!:;0 4 //**********************inc$e&se o$ dec$e&se &ll t!e c)linde$ li'its o% &ll t!e custo'e$ 8oid inc$7dec$:int 8&l=c!&$ c!oice; %st$e&' o+Mi%%0 o+Mi%%oen:connli'itd&t=ios@@+in&$)ios@@inios@@out;0 conn7li'it cnl'0 int %l&(3K-=os20 //***********to inc$e&se i%:c!oice c!oice); 9!ile:o+Mi%%$e&d::c!&$*;cnl'=si>eo%:conn7li'it;;; i%:st&tusc!ec6:cnl'cust7$e(;2; %l&(3-0 os:int;o+Mi%%tell(:;0 4 i%:%l&(3-;
cnl'li'itcnl'li'itQ8&l0 o+Mi%%see6:osKsi>eo%:conn7li'it;=ios@@+e(;0 o+Mi%%9$ite::c!&$ *; cnl'= si>eo%:conn7li'it;;0 4 4 4else //**********to dec$e&se 9!ile:o+Mi%%$e&d::c!&$*;cnl'=si>eo%:conn7li'it;;; i%:st&tusc!ec6:cnl'cust7$e(;2; %l&(3-0 os:int;o+Mi%%tell(:;0 4 i%:%l&(3-; cnl'li'itcnl'li'itK8&l0 o+Mi%%see6:osKsi>eo%:conn7li'it;=ios@@+e(;0 o+Mi%%9$ite::c!&$ *; cnl'= si>eo%:conn7li'it;;0 4 4 4 o+Mi%%close:;0 4 //**********************inc$e&se o$ dec$e&se &ll t!e c)linde$ li'its o% &ll t!e custo'e$ int st&tusc!ec6:c!&$ con,-.; int t'K-0 i%st$e&' %0 %oen:custo'e$d&t=ios@@+in&$);0 custo'e$ d$0 int %l&(K-0//=%os20 9!ile:%$e&d::c!&$*;d$=si>eo%:custo'e$;;; i%:st$c':d$(etcust$e(:;=con;2; %l&(-0 +$e&60 4 4 i%:%l&(-; t'20 4 $etu$n t'0 4
i% c!oice is 3@
I% c!oice - in su+ 'enu@
i% c!oice 3@
i% c!oice 5 Delete t!e in%o$'tion@
I% c!oice is -
C!oice -@
C!oice 3@
C!oice 5@
C!oice G@ Enter the date of cylinder booking:: 5/01/2017
C!oice .@
C!oice@ 3
I% c!oice is 3
REQUIREMENTS HARDWARE
%rinter to print the required documents of the project &ompact 'rive %rocessor ( intel )am ( *+, - or more than *+,- /arddisk ( 01 G or more than 01G.
SOFTWARE
REQUIRED
REQUIRED
Operating system ( 2indows 3% Turbo &44 for e#ecution of program and -s word for presentation of output.
ADVANTAGES
&ustomers do not need to wait in long queues.
This software reduces paper work.
!t is easy to handle customer as well as the cylinder"s record.
This software saves the time.
!nformation of the customers stores permanently.
DISADVANTAGES
This system suitable for only small level gas agencies.
Online facility is not available.
CONCLUSION This software is efficient in maintaining customers details and can easily perform operations of cylinders records. This software also reduces the work load of the booking system as they know how many cylinders are delivered every day and how many are pending. !n future this system can launch web site for easy online gas booking system.
SYSTEM DESIGN Then we began with the deign !hae "# the $te%& S$te% deign i a "'(ti"n) a *HOW TO+ a!!,"a-h t" the -,eati"n "# a new $te%& It t,an'ate $te% ,e.(i,e%ent int" wa$ b$ whi-h the$ -an be %ade "!e,ati"na'& It i a t,an'ati"na' #,"% a (e, ",iented d"-(%ent t" a d"-(%ent ",iented !,"g,a%%e,& F", that) it !,"/ide the (nde,tanding and !,"-ed(,a' detai' ne-ea,$ #", the i%!'e%entati"n& He,e we (e F'"w-ha,t t" (!!'e%ent the w",0ing "# the new $te%& The $te% th( %ade h"('d be ,e'iab'e) d(,ab'e and ab"/e a'' h"('d ha/e 'eat !"ib'e %aintenan-e -"t& It h"('d "/e,-"%e a'' the d,awba-0 "# the O'd e1iting $te% and %"t i%!",tant "# a'' %eet the (e, ,e.(i,e%ent&