

Let the unit digit of the 2 digit number is y and 10s digit is x
Now, sum of digits of 2 digit number = x + y
and sum of 2 digit number = 10x + y
Ex: Let the number is 45
Now,
sum of digits of 2 digit number = 4 + 5 = 9
and sum of 2 digit number = 10*4 + 5 = 40 + 5 = 45
