Program to print electricity bill | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Program to print electricity bill

i want a program

31st Jan 2017, 12:14 PM
Babli Sajuzz
Babli Sajuzz - avatar
8 Answers
+ 5
"I want you"
31st Jan 2017, 12:17 PM
Daniele Daini
Daniele Daini - avatar
+ 4
Get amount of electricity used. Multiply by price per unit. Print total price.
31st Jan 2017, 12:39 PM
Jafca
Jafca - avatar
+ 2
well, start learning. this place isn't a request a program app. it is a learning app. you learn, you try, and if you get stuck we help each other
31st Jan 2017, 12:16 PM
LordHill
LordHill - avatar
+ 2
@Jafca +add taxes, then add more taxes
31st Jan 2017, 12:44 PM
Álvaro
0
i have tried the student details and employe details but electricity bill is getting wrong so that am asking okay
31st Jan 2017, 12:27 PM
Babli Sajuzz
Babli Sajuzz - avatar
0
sure. what exactly is going wrong? are you getting a specific error? if the math not working right?
31st Jan 2017, 12:28 PM
LordHill
LordHill - avatar
0
justin i want a procedure
31st Jan 2017, 12:30 PM
Babli Sajuzz
Babli Sajuzz - avatar
0
#include<iostream.h>  #include<conio.h>  main(   ) { int ebill char cname      cout<<"Enter Customer No,Name and No. of Units" <<end|;            cout<<"Enter Customer No : ";                   cin>>cno;           cout<<"\nEnter Customer Name : ";                   cin>>cname;           cout<<"\nEnter No. of Units used : ";                   cin>>units;   cout<<"\nCustomer No is : "<<cno;   cout<<"\nCustomer Name is : ";        cout<<"\nNumber of Units Consumed : "<<units;  cout<<"\nBill of Customer : "<<bill;           } 
31st Jan 2017, 1:02 PM
Babli Sajuzz
Babli Sajuzz - avatar