Program for Armstrong Number in C

Here you will get program for armstrong number in C.

Armstrong number is n digits number whose sum of digits raised to power n is equal to itself.

For example:

371 is armstrong number because 3+ 7+ 13 = 27 + 343 +1 = 371.

Program for Armstrong Number in C

 

Output

Enter any number: 371
The given number is an armstrong number

" data-link="https://twitter.com/intent/tweet?text=Program+for+Armstrong+Number+in+C&url=https%3A%2F%2Fwww.thecrazyprogrammer.com%2F2012%2F11%2Fc-program-to-find-whether-given-number.html&via=">">Tweet
0 Shares

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.