WAP to find out if the number is Armstrong number of not.
A number is said to be armstrong if sum of cube of each digit gives you the same number.
Eg 153 is armstrong as 1^3 + 5^3 +3^3 = 1 + 125+ 27 = 153
Published By : Suraj Ghimire
WAP to find out if the number is Armstrong number of not.
A number is said to be armstrong if sum of cube of each digit gives you the same number.
Eg 153 is armstrong as 1^3 + 5^3 +3^3 = 1 + 125+ 27 = 153