Write a c++ program to algebraic exp(ax+b)/(ax-b)
Answers
Answered by
1
#include <studio.h>
#include <condo.h>
void main ( )
{
clrscr ( );
float a=2.5,x=5,b=7,c=0;
c=(a*x+b)/(a*x-b);
printf("a=%d,x=%d,b=%d,c=%d",a,x,b,c);
getch ( )
}
#include <condo.h>
void main ( )
{
clrscr ( );
float a=2.5,x=5,b=7,c=0;
c=(a*x+b)/(a*x-b);
printf("a=%d,x=%d,b=%d,c=%d",a,x,b,c);
getch ( )
}
Similar questions