Computer Science, asked by ziyabano1313, 4 months ago

write a program to input a number and display it is Armstrong number or not​

Answers

Answered by Anonymous
3

Answer:

In case of an Armstrong number of 3 digits, the sum of cubes of each digit is equal to the number itself. For example: 153 = 1*1*1 + 5*5*5 + 3*3*3 // 153 is an Armstrong number.

Explanation:

⤵️Follow Me...

Answered by mevishnu
2

Answer:

Let's see the c program to check Armstrong Number in C.

#include<stdio.h>

int main()

{

int n,r,sum=0,temp;

printf("enter the number=");

scanf("%d",&n);

temp=n;

while(n>0)

Similar questions