I wrote some code for find an armstrong number , I dont know why it doesnt give me false output?

后端 未结 0 957
轻奢々
轻奢々 2021-02-01 21:45

A number that equals to the sum of its own digits, where each digit raised to the power of number of digits. For example, 153 is an armstrong number because 1^3+3^3+5^3=153

相关标签:
回答
  • 消灭零回复
提交回复
热议问题