Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use mod by 10 to retrieve the least significant digit of the number
Divide the number by 10, then round it down so that the second least significant digit becomes the least significant digit of the number
Use your language’s mod operator to see if a number is a divisor of another.