0
How do create a code that tests equality of fractions and results in true or false
eg f1= 5/10 f2 = 3/6 f1==f2 true
2 Answers
0
reduce them down
5/10 reduces down to 1/2
3/6 reduces down to 1/2
then check if 1/2==1/2
eg f1= 5/10 f2 = 3/6 f1==f2 true