Author solution wrong answer


#1

their answer seems wrong .their solution is giving 10 ways to produce 2 digit numbers having sum 10,while it is 9


#2

Its giving 9 only , Please Check Again