Armstrong Number - Online Code

Description

To find rthe Armstrong numbers within a user specified limit

Source Code

#include<stdio.h>
void arm(int n);
main()
{
int x;
printf("\nenter the limit");
scanf("%d",&x);
printf("\narmstrong no. are \t:\t\n");
arm(x);
}
void arm(int n)
{
 int i,sum=0,num,a;
for(
... (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

Prashant Gaur on 2009-03-04 01:52:15 wrote,

nice one..!!