0

hi every one;

i saw this question and im trying to solve it.\

baseically i have to matrix's which each element is afraction

so i must declare a class that has in the privet to float members numerator and denomnator

and in the public i have constructer function to inilize the arrays

and function subtract ,multiply,and add,.

and im asked to add the 2 matrix and subtract them...

sample input:

3/2 4/5 1/4

4/9 7/9 2/4

and the other matrix has the same format...

note that each function has parameter (2 fractions)

i just need som idea how to solve this problem??

i now the basic but when it comes to functions i feel confused and

i dont know how to complet..

thanks in advance.:)