Algebra: solve 2 * 2 linear equations) You can use Cramer’s rule to solve the following 2 * 2 system of linear equation:
ax+by=e x= ed-bf y= af-ec cx + dy = f ad - bc ad - bc
Write a program that prompts the user to enter a, b, c, d, e, and f and display the result. If ad – bc is 0, report that The equation has no solution.
Powered by