guyz i need help.im begner in c++.then problem gave my prof 2me is.GET THE LCD(less common denomnator) input by the user.then i sucesfly made it.she gave us another prob again.REDUCE THE LCD U GOT..and i dont know what is the statemnt i will input.WAITING FOR REPLY THANKS..

need help...i don't know what condition will i put if numerator is not equal to denominator the input come from the user.

then how to reduce the answer?