#include
#include
int main()
{
clrscr();
float a,b,c,x;
cout<<"Enter value of a: "; cin>>a;
cout<<"Enter value of b: "; cin>>b;
cout<<"Enter value of c: "; cin>>c;
x=(a/b)-c;
cout<<"value of x: "<
return 0;
}
Output:
Enter value of a: 250
Enter value of b: 85
Enter value of c: 25
value of x: -22.058823
No comments:
Post a Comment