Thursday, December 15, 2011

C++ Program for Electric Bill

#include<iostream.h>
#include<conio.h>
#include<time.h>
class ebill
{
int pr,pa,cur;
float sub,tot;
char date[10],due[10],month[15],add1[20],add2[20],add3[20],name[20];
public:
void get();
void calc();
void put();
}eb;

void ebill::get()
{
cout<<"\n\n\tMonth & Year: ";
cin>>month;
cout<<"\n\n\tPrevious Reading: ";
cin>>pa;
cout<<"\n\tPresent Reading: ";
cin>>pr;
clrscr();
cout<<"\n\n\tDue Date: ";
cin>>due;
cout<<"\n\tName & Address: ";
cin>>name>>add1>>add2>>add3;
}

void ebill::calc()
{
cur=(pr-pa);
if(cur<101)
sub=(cur*60)/100;
if((cur>100)&&(cur<201))
sub=(cur*90)/100;
if((cur>200)&&(cur<301))
sub=(cur*168)/100;
if((cur>300)&&(cur<401))
sub=(cur*2);
tot=sub+15;
_strdate(date);
}

void ebill::put()
{
cout<<"\n\n\t\t\tELECTRICITY DEPARTMENT - PONDICHERRY";
cout<<"\n\t------------------------------------------------------------------------";
cout<<"\n\tMonthly Bill For: "<<month<<"\t\t\t|Type: DOMESTIC";
cout<<"\n\t________________________________________________________________________";
cout<<"\n\tBill Date: "<<date<<"\t\t|Present Reading:\t|\t"<<pr;
cout<<"\n\tDue Date: "<<due<<"\t\t|Previous Reading:\t|\t"<<pa;
cout<<"\n\t--------------------------------|M.F.:\t\t\t|\t1.000";
cout<<"\n\tRate per 100 units:60/90/168/200|Total Reading:\t\t|\t"<<cur;
cout<<"\n\tMinimum Charge: Rs. 15.00\t|---------------------------------------";
cout<<"\n\t\t\t\t\t|\t      Sub-Total:|\tRs. "<<sub;
cout<<"\n\t------------------------------------------------------------------------";
cout<<"\n\tName & Address of Billing:\t|\n\t\t"<<name<<"\t\t\t|\n\t\t"<<add1<<"\t\t\t|\n\t\t"<<add2<<"\t\t\t|\n\t\t"<<add3;
cout<<"\t\t|\t  Current Total:|\t"<<tot;

}

void main()
{
clrscr();
eb.get();
clrscr();
eb.calc();
eb.put();
getch();
}

Saturday, December 3, 2011

Earn Fast

Get More Customers

Get More Shoppers, Get More Income!!!

With no constant current of shoppers you cannot have stable everyday sales.
It's not possible to get revenue if no one comes to your web-site. You have to have shoppers to see your website, every day, 24 hours!
We help more than 30,000 clients get more customers from Internet.
You can get more income by receiving hundreds of real targeted visitors to see your website.
More Shoppers...

Millions of Customers

Millions of Customers

Reach millions of customers looking for products and services.
Our auditory is day by day increasing and now it's over 25 million unique customers every month. We only work with trusted American and international promotion sites, which bring potential shoppers from North America, Western Europe and upcoming markets.
Get More Hits, Get More Shoppers...

Advertise to over 10 million customers

Promote to over 10 million customers across the world.

We advertise your business in global network of affiliate portals, each with own targeted auditory.
Our company gives you innovative promotion strategies that makes your business succeed online.
We will provide you with real and visible results and take your web-site to the next level.
Promote to Millions customers Now...

affiliate program

EARN CASH FROM YOUR SITE

Turn your valuable site visitors into money. Work online and join our free money making affiliate program. We offer the most payment rate to help increase your money stream.

Join our cash making program absolutely no charge and 100% risk free.

Sign Up...

Get paid after you not working

Create multiple new income incomes each and every hour. Get paid after you not working or even retire at an early age with a broad income stream. Make this once and get profit over and over again. It's best way to create mind-blowing new levels of revenue and success on the online.

A never ending cash generator

Imagine getting of a something that never failed to generate income-flow. A make money system so amazingly profitable that you never had to look for job ever again!Income while you sleep

MONEY WHILE YOU SLEEP

Earn $1,000... $2,000... $5,000...

Turn your site traffic into cash!
You get money for every person that clicks on our advertizing. Our wish is to help you to receive as much as possible from your web site. We pay monthly, either by check, or using PayPal.

No Sponsoring Needed To Earn Money With Us! my name is sergei menkov and i am earning a daily income online with or without referrals you think it s impossible no it isn t it can be done you can make money online on a daily basis even if you sponsor no one how very easy steps is all it takes join ..