What is Telephone billing system?
What is The Definition of Telephone Billing System? A phone billing system is a process of gathering consumption data, calculating billing and charging information, availing customer bills, processing the customer payments as well as managing collection of debts.
What is The Definition of Telephone Billing System? A phone billing system is a process of gathering consumption data, calculating billing and charging information, availing customer bills, processing the customer payments as well as managing collection of debts.
Download Telephone billing system
Telephone billing system #include"graphics.h"
#include<fstream .h> #include<iomanip .h> #include<string .h> #include<process .h> #include<stdlib .h> #include<iostream .h> #include<conio .h> #include<stdio .h> #include<dos .h> void proj_name(void); void created(void); class consumer { public: long unsigned int tel_no; long unsigned int con_no; char name[60]; char add[300]; char city[40]; long unsigned int op_rdg; long unsigned int cl_rdg; long unsigned int met_calls; long unsigned int free_calls; long unsigned int charge_calls; float met_charge; float rent; float debits; float tax; float credits; float gross_amt; float surcharge; long unsigned int net_amt_bef; long unsigned int net_amt_aft; public: void get_data(void); void show_data(void); }; void consumer::get_data(void) { setfillstyle(1,BLACK); bar(0,0,680,480); consumer g1; int a; char ch; setlinestyle(0,0,3); setcolor(BROWN); settextstyle(1,0,5); outtextxy(90,20,"ENTER THE RECORD:-"); setfillstyle(1,BLACK); bar(50,100,550,400); rectangle(50,100,550,400); gotoxy(10,10); cout< <"TELEPHONE NO. :"; cout<<tel_no; cin.get(ch); gotoxy(10,12); cout<<"NAME :"; cin.getline(name,60); gotoxy(10,14); cout<<"ADDRESS :"; cin.getline(add,300); |
Telephone billing system
|
gotoxy(10,16);
cout<<"CITY :";
cin.getline(city,40);
gotoxy(10,18);
cout<<"OPENING READING :";
cin>>op_rdg;
gotoxy(10,20);
cout< <"CLOSING READING :";
cin>>cl_rdg;
met_calls=cl_rdg-op_rdg;
free_calls=150;
rent=360;
if(met_calls<free_calls )
{
charge_calls=0;
met_charge=0;
}
else
{
charge_calls=met_calls-free_calls;
met_charge=charge_calls*(.80);
}
gotoxy(10,22);
cout<<"DEBITS :";
cin>>debits;
tax=(rent+met_charge+debits)/20;
gross_amt=(met_charge+rent+tax+debits);
gotoxy(10,24);
cout< <"CREDITS :";
cin>>credits;
if(credits>gross_amt)
net_amt_bef=0;
else
net_amt_bef=gross_amt-credits;
if(credits>=gross_amt)
surcharge=0;
else
surcharge=20;
net_amt_aft=net_amt_bef+surcharge;
}
void consumer::show_data(void)
{
cout<<"CITY :";
cin.getline(city,40);
gotoxy(10,18);
cout<<"OPENING READING :";
cin>>op_rdg;
gotoxy(10,20);
cout< <"CLOSING READING :";
cin>>cl_rdg;
met_calls=cl_rdg-op_rdg;
free_calls=150;
rent=360;
if(met_calls<free_calls )
{
charge_calls=0;
met_charge=0;
}
else
{
charge_calls=met_calls-free_calls;
met_charge=charge_calls*(.80);
}
gotoxy(10,22);
cout<<"DEBITS :";
cin>>debits;
tax=(rent+met_charge+debits)/20;
gross_amt=(met_charge+rent+tax+debits);
gotoxy(10,24);
cout< <"CREDITS :";
cin>>credits;
if(credits>gross_amt)
net_amt_bef=0;
else
net_amt_bef=gross_amt-credits;
if(credits>=gross_amt)
surcharge=0;
else
surcharge=20;
net_amt_aft=net_amt_bef+surcharge;
}
void consumer::show_data(void)
{