I have a problem

Hello guys :) I have been busting my head with the following problem. If you could solve it for me it would be wonderful.
Write a program that solves a linear system with 2 equations and 2 variables. If it is the only one.
Input: you manually have to manually input 2 lines of fractions, as the first 2 are the numbers before x and y, and the 3rd is the value of the equation.
Exit: If the linear system has a single solution you have to output the solution.
If it has a infinite number of solutions you have to output "Many solutions"
If it doesn't have any solutions, you have to output "No solution".
@MasterPuf
+ Welcome to Cplusplus forum.
+ What problem do you have with this assignment?
Topic archived. No new replies allowed.