Also, I'm not sure if the fraction has to be simplified because if it doesn't adding them is fairly simple. If it does need to be simplified, it is still pretty easy but will take more code.
Type: Posts; User: JTR42
Also, I'm not sure if the fraction has to be simplified because if it doesn't adding them is fairly simple. If it does need to be simplified, it is still pretty easy but will take more code.
I think you aren't supposed to use a traditional add in your add method but rather manipulate the numerator and denominator of both to add them. Does this make sense?