hi everyone this is my first post and i need help.i want to check the accountable reading and multiply it with 0.4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include<iostream.h>
#include<conio.h>
void main()
{clrscr();
int a,b,c,bill,y,z;
cout<<"enter the previous meter reading"<<endl;
cin>>a;
cout<<"enter the current meter reading "<<endl;
cin>>b;
c=b-a;
cout<<"Accountable reading is "<<c<<endl;
{for (int x<=100)
bill=x*0.4;
cout<<bill<<endl;}
getch();}