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