CJCoding With Joseph

Palindrome Number Check

Read a positive integer. Use a loop to reverse its digits, then print Yes if the number reads the same forwards and backwards, or No if it does not.

For input 121 the output is:

Yes

Expected Output:

Yes
Topics:
Loops
๐Ÿ“ฅ Auto-Input:
121\n
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.