+ 1

Need help with program!

https://code.sololearn.com/c4KDqYhPPBQd/?ref=app Need help with program! My fractions won’t reduce in my output! If the user input (2/4) + (1/2) the output is supposed to be (1/2) + (1/2) = (1/1)!

4th Nov 2019, 11:21 PM
Derek
1 Odpowiedź
0
2/4 and 1/2 both will give you zero.
5th Nov 2019, 3:14 PM
Avinesh
Avinesh - avatar