/*Program to print all three digit Armstrong Numbers
An Armstrong Number is one where the sum of the cubes of the individual
digits is equal to the number 407=64+0+343
*/
#include 
#include 

int main()
{
      int n,o,t,h,temp;
      clrscr();
      n=100;
      while(n>=100&&n<=999)
      {
       temp=n;
       o=temp%10;
       temp/=10;
       t=temp%10;
       temp/=10;
       h=temp;
       if(((o*o*o)+(t*t*t)+(h*h*h))==n)
		 cout<

    Source: geocities.com/cplusplussurvivalkit