Armstrong numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Armstrong numbers

in this code the logic for telling whether a number is Armstrong or not works fine but the same logic isn't working for range part,the value of arm.p only remains 1 ,in case of range logic but changes when the code is used for checking of a single number only......I don't know why it's not working for range ..??? https://code.sololearn.com/ch5yBCr0NnGH/?ref=app

4th May 2018, 5:04 PM
vardaan raj singh
vardaan raj singh - avatar
1 Answer
0
not a clue!
4th May 2018, 5:37 PM
vardaan raj singh
vardaan raj singh - avatar