Check Armstrong Number

Easy

📝 Description

Check if a number is an Armstrong number

Input Format

A single integer n

Output Format

"true" if Armstrong, "false" otherwise

Constraints

-10000 ≤ n ≤ 10000

🔍 Sample Input

153
            

✅ Sample Output

true
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run