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





 

Solution for Addition of 2 and 6/1

The given input are 2 and 6/1

2 can be written as 2/1 in fraction format

The given fractions are 2/1 and 6/1

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

2/1+6/1

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

= 2 + 6/1

= 8/1

Result: 8/1