Ex: 2+(5/10) (or) 4+(6/22) (or) 5+(7/15)





 

Solution for Addition of 4 and 2/1

The given input are 4 and 2/1

4 can be written as 4/1 in fraction format

The given fractions are 4/1 and 2/1

Firstly the L.C.M should be done for the denominators of the two fractions 4/1 and 2/1

4/1+2/1

If the L.C.M of the denominators of the both fractions 4/1 and 2/1 are same, the numerators are added directly taking the similar integer as the denominator

= 4 + 2/1

= 6/1

Result: 6/1