Write a Java program which solve the equation
ax+by=c
dx+ey=f
Print the values of x, y where a, b, c, d, e and f are given.
Input:
a,b,c,d,e,f separated by a single space.
(-1,000 ≤ a,b,c,d,e,f ≤ 1,000)
Expected Output:
Input the value of a, b, c, d, e, f:
5 6 8 9 7 4
-1.684 2.737
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer