a/b = c/d
Multiply both sides by b/c
Thus (a/b)*(b/c) = (c/d)*(b/c)
ie a/c = b/d
Chat with our AI personalities
if a/b=c/d then a+b/c+d = a/b=c/d
For the equation A/B = C/D. Multiply both sides by B: A*B/B = C*B/D, then multiply both sides by D: A*B*D/B = C*B*D/D, then simplify (the B's cancel and the D's cancel): A*D = C*B
If: a = b+c+d Then: c = a-b-d
#include <stdio.h> #include <conio.h> int main() { int a,b,c,d; printf("Enter any 4 numbers"); scanf("%d%d%d%d",&a,&b,&c,&d); if(a>b&&a>c) { else if(a>d) printf("%d is greatest",a); } if(b>a&&b>c) { else if(b>d){ printf("%d is greatest",b); } if(c>a&&c>b) { else if(c>d) printf("%d is greatest",c); } else { printf("%d is greatest",d); } }
Suppose the two fractions are b/f and c/d.Then (b/d)/(c/d) = (b/d)*(d/c) = (b*d)/(c*d) = b/d.