Armstrong Number
Easy📝 Description
Check if number equals sum of its own digits each raised to power of number of digits
Input Format
A single integer n
Output Format
true/false
Constraints
1 ≤ n ≤ 1000
🔍 Sample Input
153
✅ Sample Output
true
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run