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





 

Solution for Addition of 1 and 3/1

The given input are 1 and 3/1

1 can be written as 1/1 in fraction format

The given fractions are 1/1 and 3/1

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

1/1+3/1

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

= 1 + 3/1

= 4/1

Result: 4/1