Swap first and last digit of a number
Filed under ClearTrail
The question
Given a multi-digit number, write code to swap its first and last digits.
No write-up yet. Related questions below have one.
Related ClearTrail questions
Collected from public candidate posts and coding forums. Updated Nov 2026.