ok i've composed the code using the method of elimination, and i have successfully worked out the value of and X and Y in ax+by= c1 and dx+ey=c2.
but there is one more thing i need to ask, my code only shows the answer if the equations have a unique solution. BUT how do i tell the user if the equations has a infinite number of solutions or NO solutions at all?