check Armstrong

write a program to check whether it is a Armstrong or not ?

Input : 153
Output : Yes


153 is an Armstrong number.
1*1*1 + 5*5*5 + 3*3*3 = 153

  Discussion posts and replies are publicly visible