Thread: c++ program
View Single Post
Old 16-08-2007, 03:23 PM   #13 (permalink)
shady_inc
Pee into the Wind...
 
shady_inc's Avatar
 
Join Date: May 2007
Location: Mumbai
Posts: 782
Default Re: c++ program

Quote:
Originally Posted by Sykora
^^^ Armstrong is sum of cubes, not squares.
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.
__________________
Life is as complicated as you say it is.
shady_inc is offline