Finding Armstrong Number in C

# Introduction In this lab, we will learn about Armstrong number and write a program in C to verify whether a number is an Armstrong number or not. An Armstrong number is a number, that is the sum of its own digits each raised to the power of the number of digits. For example, 153 is an Armstrong number, because 153 = 1^3 + 5^3 + 3^3 = 1 + 125 + 27. 371 is an Armstrong number, because 371 = 3^3 + 7^3 + 1^3 = 27 + 343 + 1.

|60 : 00

Click the virtual machine below to start practicing