Check whether it is Armstrong or not ? Structure num=153 sum=1^3+5^3+3^3=1+125+27=153 Number is Armstrong */ #include<stdio.h> #include<conio.h> main( ) { int num,sum,org; clrscr(); printf("\nEnter the number :"); scanf("%d",&num); sum=0; org=num; do { sum=sum+(num%10)*(num%10)*(num%10); num=num/10; } while(num!=0); if(sum==org) printf("\nNUmber is Armstrong"); else printf("\nNumber is not Armstrong"); getch(); } c programming language,c programming software,c programming download,c programming online,c programming examples,c programming tutorial,c programming code c programming w3schools,c++ compiler download,turbo c compiler,online c compiler,c compiler for windows,c++ compiler,online compiler online c++ compiler,gdb compiler...
FOR EVERY PROGRAMMER SOME SPECIAL PROGRAMS WITH THEORY.