开发者_Python百科
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 hours ago.
Improve this questionI have been trying to find armstrong number in range 0 to 200
its showing some errors.
for example 145 is a Armstrong number because its 1**3 + 4**3 + 5**3 = 145
.
Firstly 145 is not a Armstrong number, and you can try to read this page for the code you looking for: https://www.javatpoint.com/armstrong-number-in-c
精彩评论