#include<iostream>
using namespace std;
int main()
{
int a,b,c,x;
cout<<"Enter a b & c for x=a/(b-c)"<<endl;
cin>>a>>b>>c;
if(b-c==0)
{
cout<<"Division not possible";
}
else
{
x=a/(b-c);
cout<<"x is:"<<x;
}
return 0;
}
using namespace std;
int main()
{
int a,b,c,x;
cout<<"Enter a b & c for x=a/(b-c)"<<endl;
cin>>a>>b>>c;
if(b-c==0)
{
cout<<"Division not possible";
}
else
{
x=a/(b-c);
cout<<"x is:"<<x;
}
return 0;
}
Good program,written in exact manour.
ReplyDeleteEasily understandable
ReplyDeleteEnter your comment...program to find the vallue of x
ReplyDeleteIt's totally wrong program
ReplyDeleteReally wrong plz tell me write program
Delete36
ReplyDeleteOSM
ReplyDelete