+ 3
Can someone help me?
I make program to print all armstrong number by inputed range. but 153 doesnt appear, whereas other number like 370 appear. This is my code, thank you for your help !! https://code.sololearn.com/cTmb7UXyTFQl/?ref=app
2 Answers
+ 3
Change pow(/* whatever */) to floor(pow(/* whatever */)).
+ 2
thanks a lot !! it works