/*Note: If sum of cubes of each digit of the number is equal to the number itself, then the number is called an Armstrong number. For example, 153 = ( 1 * 1 * 1 ) + ( 5 * 5 * 5 ) +
#include<stdio.h>
int s=0,digit,original;
for (int i=1;i<=500;i++)
while (original!=0) // this loop is used to break the number in digits For better understanding click here 👉👉 ARMSTRONG NUMBER
if (s==i)
Tags:
armstrong
basic c
basic c program
C
Write a C-program to print out all Armstrong numbers between 1 and 500