0
G'day Jayuđ which language are you working with (add that as a tag to your post)
What have you tried? Also add that to your post!
Do you have some psuedocode, like a flowchart or the algorithm?
I didn't know what an Armstrong number is... https://en.m.wikipedia.org/wiki/Narcissistic_number