Armstrong Number - Online Code

Description

To find if the given Number is an Armstrong Number or not, with the Numbers ranging in between 0 to 999.

Source Code

# include <iostream.h>

# include <conio.h>

# include <math.h>

 void main ()

{ clrscr();

 int a,b=0,sum=0;

 long int n,e,d;

 cout<<"ENter the NO. : ";

 cin>>n;

 e=d=n;

... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.