#include<stdio.h>
#include<conio.h>
main()
{
int a,b,x;
float s;
printf("Enter the Values of a,b,x...");
scanf("%d%d%d",&a,&b,&x);
s=(a*x+b)/(a*x-b);
printf("The Resultant Value is : %f",s);
}
OUTPUT:
Enter the Values of a,b,x...2 3 5 The Resultant Value is : 1.000000
ALGORITHM:
Step1: Start Step2: Input a,b,x,s Step3: s= (a*x+b)/(a*x-b) Step4: Result s Step5: Stop