Untitled

                Never    
C
       
#include <stdio.h>

void main()

{
  int num,rem,sum=0,temp
printf("\n Enter n Values");
scanf("%d",&num);
temp=num;
while(num>0)
{
  rem=num%10;
  sum=sum+(rem*rem*rem);
  num=num%10;
  
}
num=temp;

if(num==sum)

printf("\n It is a Armstrong number");

else

printf("\its not an Armstrong number");

getch();

}

Raw Text