W3Schools

sum up both the digits of your guessed two digit number and remember both your guessed number as well as the new sumed digit

for instance if your guessed number is 10 then 1+0=1 so 1 will be your sumed digit

click here when done