Regarding the title, I was worried about the solution more than I imagined, so as a memorandum.
(Example) If input == 69 tens = (69 / 10) % 10 == 6 ones = (69 / 10) % 10 == 9 It will be.
Recommended Posts