2081 7

BIT102 ยท 2081 ยท 5 marks

Write a program to check whether a given number is Armstrong number or not.

Write a program to check whether a given number is Armstrong number or not. [5]

C ProgrammingChapter 5: Loops and IterationLoop control statements

An Armstrong number (also called a narcissistic number) is a number that equals the sum of its own digits each raised to the power of the number of digits. Example: - 153 = 1ยณ + 5ยณ + 3ยณ = 1 + 125 + 27 = 153 โœ“ - 371 = 3ยณ + 7ยณ + 1ยณ = 27 + 343 + 1 = 371 โœ“ --- --- --- Step remainder result (sum) ----...