Write a program to calculate electricity bill using c++
Answers
Answered by
1
# include <iostream.h>
# include <conio.h>
void main( )
{
int a, b c ;
cout<<" enter a amount per unit";
cin>>a;
cout <<"enter a no. of days ";
cin>>b;
c= a×b;
cout<<"electric bill= "c;
getch( );
}
# include <conio.h>
void main( )
{
int a, b c ;
cout<<" enter a amount per unit";
cin>>a;
cout <<"enter a no. of days ";
cin>>b;
c= a×b;
cout<<"electric bill= "c;
getch( );
}
Similar questions