Professional Documents
Culture Documents
Armstrong No
Armstrong No
#include <stdio.h>
#include<math.h>
void main() {
var = num;
++a;
var = num;
if ( sum == num ) // Check whether the sum is equal to the given number of not
else
{
printf ( "%d is not an Armstrong number \n", num );