#include<iostream.h>
#include<conio.h>
void main()
{
int mno,pres,prev,nounits,ctype;
float rpu,tbill;
clrscr();
cout<<“enter mno,pres,prev readings:”;
cin>>mno>>pres>>prev;
nounits=pres-prev;
cout<<“enter ctype:”;
cin>>ctype;
if(ctype==1)
{
rpu=1.00;
}
if(ctype==2)
{
rpu=2.00;
}
if(ctype==3)
{
rpu=3.00;
}
if(ctype==4)
{
rpu=4.00;
}
if(ctype==5)
{
rpu=5.00;
}
tbill=nounits*rpu;
cout<<“\n pres reading=”<<pres;
cout<<“\n prev reading=”<<prev;
cout<<“\n nounits=”<<nounits;
cout<<“\n rpu=”<<rpu;
cout<<“\n tbill=”<<tbill;
getch();
}

57,369 total views, 118 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

3,960 Thoughts to “C++ PROGRAM TO FIND THE CUSTOMER ELECTRICITY BILL DETAILS BASED ON CUSTOMER TYPE”

  1. Helpful info. Fortunate me I discovered your website unintentionally, and I’m shocked why this twist of fate didn’t took place earlier! I bookmarked it.

  2. Thanks so much for providing individuals with an extraordinarily wonderful chance to discover important secrets from here. It can be very superb plus full of a lot of fun for me personally and my office mates to search your website nearly 3 times per week to learn the latest guides you will have. And definitely, I’m just certainly pleased with your unique tactics you serve. Some 3 areas in this article are certainly the most effective I’ve had.

  3. Somebody necessarily lend a hand to make severely posts I’d state. This is the very first time I frequented your website page and to this point? I amazed with the research you made to create this actual submit amazing. Great task!

Leave a Comment