C++ Gas Agency Project Download Free Ppt or Output Class XII
What is gas booking system?
Gas Booking Through Agency:
Customers can also choose to book their refill cylinders by visiting the gas agency in person. They can book a cylinder by providing their customer number and can make the payment at the time or on delivery of the cylinder.
Gas Booking Through Agency:
Customers can also choose to book their refill cylinders by visiting the gas agency in person. They can book a cylinder by providing their customer number and can make the payment at the time or on delivery of the cylinder.
Click On Source Code
gas_agency_system.txt |
C++ Gas Agency Project Download
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<iostream.h>
#include<fstream.h>
#include<dos.h>
#include<stdlib.h>
#include<string.h>
void func();
void pass();
void gra();
void cpass();
void select();
class addition
{
private :
char name1[40],fname[40],address[500],category[20],
city[15],zone[30],cat2[20],acc_no[30];
char telp_no[20],mitt_no[10],due_date[20];
/*long double curr_read,pre_read,use_unit,due_amount,ele_tax;
long double late_charge,fix_charge,y,amount; */
long double fix_charge,ele_tax;
long gross,total_amount;
struct date prev_del;
struct date curr_date;
public :
void get_data();
void newb();
void bill();
void search();
void edit();
void remove();
void vw();
void view();
void dat1();
void condition();
}add;
void addition::dat1()
{
struct date d;
getdate(&d);
int k=d.da_day,l=d.da_mon,n=d.da_year;
int x=0,y=0,z=0;
if((n%4)==0)
{
if(l==2)
{
if(k<=24)
{ x=k+5;y=l;z=n; }
else
{ x=k-24;y=l+1;z=n;}
}
else
{
if(l==4|l==6|l==9|l==11)
{
if(k<=25)
{x=k+5;y=l;z=n;}
else
{x=k-25;y=l+1;z=n;}
}
else
{
if(k<=26)
{x=k+5;y=l;z=n;}
else
{
if(l==12)
{l=0;x=k-25;y=l+1;z=n+1;}
else
{x=k-26;y=l+1;z=n;}
}
}
}
}
else
{
if(l==2)
{
if(k<=23)
{x=k+5;y=l;z=n;}
else
{x=k-23;y=l+1;z=n;}
}
else
{
if(l==4|l==6|l==9|l==11)
{
if(k<=25)
{x=k+5;y=l;z=n;}
else
{x=k-25;y=l+1;z=n;}
}
else
{
if(k<=26)
{x=k+5;y=l;z=n;}
else
{
if(l==12)
{l=0;x=k-25;y=l+1;z=n+1;}
else
{x=k-26;y=l+1;z=n;}
}
}
}
}
// cout<<"delivery Date";
gotoxy(25,23);
cout<<x<<"/"<<y<<"/"<<z;
}
void addition::vw()
{
fstream fill1;
int z=0;
h:
{
gotoxy(15,1);
cout<<"Press 'TAB' To Exit and Press 'SPACE' To Go Back";
gotoxy(20,5);
cout<<"\t Enter Account No. : ";
while(z<20)
{
char c2=getch();
if(c2==13)
{
if(z==0);
else
break;
}
if(c2=='\t')
{
exit(0);
}
if(c2==' ')
{
func();
}
if(c2=='\b')
{
if(z>0)
{
z=z-1;
gotoxy(45+z,5);
cout<<" ";
gotoxy(45+z,5);
}
}
else
{
if(c2>=48&&c2<=57)
{
cout<<c2;
acc_no[z]=c2;
z++;
}
else
{
cout<<"\n \t \t \t Invalid Entry";
cout<<"\n \t \t \t Press Any key To Enter Again";
z=0;
getch();
cleardevice();
goto h;
}
}
}
acc_no[z]='\0';
}
fill1.open(acc_no,ios::nocreate|ios::in);
if(fill1!='\0')
{
#include<conio.h>
#include<graphics.h>
#include<iostream.h>
#include<fstream.h>
#include<dos.h>
#include<stdlib.h>
#include<string.h>
void func();
void pass();
void gra();
void cpass();
void select();
class addition
{
private :
char name1[40],fname[40],address[500],category[20],
city[15],zone[30],cat2[20],acc_no[30];
char telp_no[20],mitt_no[10],due_date[20];
/*long double curr_read,pre_read,use_unit,due_amount,ele_tax;
long double late_charge,fix_charge,y,amount; */
long double fix_charge,ele_tax;
long gross,total_amount;
struct date prev_del;
struct date curr_date;
public :
void get_data();
void newb();
void bill();
void search();
void edit();
void remove();
void vw();
void view();
void dat1();
void condition();
}add;
void addition::dat1()
{
struct date d;
getdate(&d);
int k=d.da_day,l=d.da_mon,n=d.da_year;
int x=0,y=0,z=0;
if((n%4)==0)
{
if(l==2)
{
if(k<=24)
{ x=k+5;y=l;z=n; }
else
{ x=k-24;y=l+1;z=n;}
}
else
{
if(l==4|l==6|l==9|l==11)
{
if(k<=25)
{x=k+5;y=l;z=n;}
else
{x=k-25;y=l+1;z=n;}
}
else
{
if(k<=26)
{x=k+5;y=l;z=n;}
else
{
if(l==12)
{l=0;x=k-25;y=l+1;z=n+1;}
else
{x=k-26;y=l+1;z=n;}
}
}
}
}
else
{
if(l==2)
{
if(k<=23)
{x=k+5;y=l;z=n;}
else
{x=k-23;y=l+1;z=n;}
}
else
{
if(l==4|l==6|l==9|l==11)
{
if(k<=25)
{x=k+5;y=l;z=n;}
else
{x=k-25;y=l+1;z=n;}
}
else
{
if(k<=26)
{x=k+5;y=l;z=n;}
else
{
if(l==12)
{l=0;x=k-25;y=l+1;z=n+1;}
else
{x=k-26;y=l+1;z=n;}
}
}
}
}
// cout<<"delivery Date";
gotoxy(25,23);
cout<<x<<"/"<<y<<"/"<<z;
}
void addition::vw()
{
fstream fill1;
int z=0;
h:
{
gotoxy(15,1);
cout<<"Press 'TAB' To Exit and Press 'SPACE' To Go Back";
gotoxy(20,5);
cout<<"\t Enter Account No. : ";
while(z<20)
{
char c2=getch();
if(c2==13)
{
if(z==0);
else
break;
}
if(c2=='\t')
{
exit(0);
}
if(c2==' ')
{
func();
}
if(c2=='\b')
{
if(z>0)
{
z=z-1;
gotoxy(45+z,5);
cout<<" ";
gotoxy(45+z,5);
}
}
else
{
if(c2>=48&&c2<=57)
{
cout<<c2;
acc_no[z]=c2;
z++;
}
else
{
cout<<"\n \t \t \t Invalid Entry";
cout<<"\n \t \t \t Press Any key To Enter Again";
z=0;
getch();
cleardevice();
goto h;
}
}
}
acc_no[z]='\0';
}
fill1.open(acc_no,ios::nocreate|ios::in);
if(fill1!='\0')
{
online gas booking system project in php free download
online gas booking system project report pdf
gas agency system project in c++ source code
gas booking system project in php github
online gas booking system project in asp net free download
gas agency management system project pdf
online gas booking project in php source code
gas agency management system project ppt
online gas booking system project report pdf
gas agency system project in c++ source code
gas booking system project in php github
online gas booking system project in asp net free download
gas agency management system project pdf
online gas booking project in php source code
gas agency management system project ppt