Quote (Minkomonster @ Oct 29 2014 11:46pm)
Prove it.
I'll get you started
2*2*2 != 2
3*3*3 != 3
4*4*4 != 4
Continue. Show me how 2,3,4,5,6,7,8,9 are Armstrong numbers.
Jesus, I ask for help and I get an arrogant dude answering me with something that doesn't help at all. If im wrong, just say it politely.
Quote (Minkomonster @ Oct 29 2014 11:51pm)
If you are looking for a general Armstrong number that is a number whose digits are raised to the power of the number of digits, then 2,3,4,5,6,7,8,9 would be included, but if you are looking for Armstrong numbers of 3 digits, as you are representing by your code, then they would not be included.
Well , I guess you understood.
Alright , so could I just do a IF the number has 2 digits, or 1 in that case and do like : sum + = t*t for 2 number digits and just sum+=t and that would work? Imma try it out.
This post was edited by Jibbosh on Oct 29 2014 09:58pm