0
How to find Armstrong number using FOR loop
I want to use FOR loop to find out weather it is Armstrong number or not
5 Respostas
+ 6
Show your attempt harshit
+ 3
Can you tell me which Armstrong number you are asking.
+ 2
harshit
Check out this assignment and learn from the submissions
https://www.sololearn.com/learn/4708/?ref=app
And this code below found by searching the Code Playground. Next time you need code inspiration search the Code Playground 👍
https://code.sololearn.com/cEe0vXQAhB8F/?ref=app
0
Any Armstrong number like 153 is true for Armstrong number so how to check it with FOR loop?
0
Take out number of individual digit places and then cube it and then add.use mod by 10,100,1000,or more and then div by 10 or 100 to get digit at that place and proceed.