Quote:
|
Originally Posted by shady_inc
Nope armstrong nos. are the ones in which the sum of each individual digit in a no. raised to the no. of digits equals the original no.So for three digit no.,it will be sum of cubes.....For a two digit no.,it will be sum of squares.....
Every single digit no. except zero is armstorng no.Hava look here. for more info. 
|
Thanks buddy I didn't know this.But still the code can be used with slight modifications.
Anyways I prefer fibonacci series over armstrong series....lols