Armstrong Number Program in  C#

-interviewspreparation.com

What is Armstrong Number ?

Number : 371 Logic : Step 1 : 371 number have 3 digits  Step 2 : 3 * 3 * 3 , 7 * 7 * 7, 1*1*1. Step 3 : 27 + 243 + 1 = 371; Answer 371 is your Armstrong Number