Thread: c++ program
View Single Post
Old 19-08-2007, 01:03 AM   #19 (permalink)
The_Devil_Himself
die blizzard die! D3?
 
The_Devil_Himself's Avatar
 
Join Date: Aug 2007
Location: Event horizon
Posts: 2,361
Default Re: c++ program

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
__________________
Stealing your women and horses since 1843.
The_Devil_Himself is offline