answersLogoWhite

0

#include<stdio.h>

void main()

{

int n,t,sum=0;

float fact=1;

clrscr();

printf("enter the number");

scanf(%d",&n);

t=n;

while(t)

{

for(i=0;i<=t%10;i++)

{

fact=fact*i;

}

sum=sum+fact;

fact=1;

t=t/10;

}

if(n==sum)

{

printf("strong number");

}

else

{

printf("not strong number");

}

getch();

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Program to find the greatest number?

The greatest number is infinity.


Where can I find my trusted traveler number?

You can find your trusted traveler number on the back of your Trusted Traveler Program card or in your online account on the program's website.


Java source code to find prime number?

/* Program to Find whether number is Prime or Not. */ class PrimeNo{ public static void main(String args[]){ int num = Integer.parseInt(br.readLine()); int flag=0; for(int i=2;i


Any integer is input through the keyboard write a c program to find out whether it is an odd number or even number?

printf(\n "ENTER THE NUMBER\t"); scanf{"%d",&amp;a); while(a!=0); { r=a%2; if(r==0) printf("\n\n THE NUMBER IS EVEN \t"); else printf("\n\n THE NUMBER IS ODD \t"); printf ("\n ENTER THE NUMBER \t"); scanf("%d",&amp;a); } getch(); }


Can you get a Java program to find the cube of a number?

Yes


To find strong number in java?

sir , what is perfect no?


What is the Linux command to find whether a particular software such as gromacs is installed in the system?

whereis [name of program]


Do an 8086 assembler program to find parity of a given number?

sdfsdfsfsggbcvbg


Program to find square and cube of a number?

square and cube caculator


How do you find a number whether its a power of 2 or not?

the odds against evens


How do you find whether a given number is even or odd in Unix shell programming?

echo "Program to check even or odd number"echo "Enter a number"read na=`expr $n % 2`if [ $a -eq 0 ] ; then #Semicolon is most important for Executing ifelse statementsecho "It is an even number"elseecho "It is an odd number"fi


Need a'c' program to find given number is even or odd?

No, thanks.