Strong number is a number for which sum of factorials of the digits is equal to the given number.
Eg: let us consider 145 where sum of factorials of the digits= 1!+4!+5!=1+24+120=145 i,e., the given number.
c program for strong number is:
#include<stdio.h>
#include<conio.h>
void main()
{
int sof=0,n,dn,ctr,prod,rem;
printf("Enter the number\n");
scanf("%d",&n);
dn=n;
while(n!=0)
{
prod=1,ctr=1;
rem=n%10;
while(ctr<=rem)
{
prod=prod*ctr;
ctr=ctr+1;
}
sof=sof+prod;
n=n/10;
}
if(sof==dn)
{
printf("The number entered is strong number");
}
else
{
printf("The number entered is not a strong number");
}
}
By
Nagarjuna
sri indu ECE,
IBP.
Robust means strong enough to withstand or overcome intellectual challenges or adversity. c is a robust language because its rich set of built-in functions and operators can be used to write any complex logic program.
In C, it is -4000.0 In others languages, it is -4000.0
C-language was derived from B-language.
C Language is First Step of Programming Language, Help for C Language you are show the correct answer
You can multiply the number of radians by 180/pi.
C# is a derivative of C++, designed to allow C++ programmers to take advantage of the .NET environment. Officially, it is an object oriented language that encompasses strong typing and component orientation.
If the sum of squares of digits of a number equals to the number itself, then that number is called an aram strong number.
1500
Robust means strong enough to withstand or overcome intellectual challenges or adversity. c is a robust language because its rich set of built-in functions and operators can be used to write any complex logic program.
In C, it is -4000.0 In others languages, it is -4000.0
No, the first is a number (0x91), the second is a pointer.
C-language was derived from B-language.
substracion of any two number program in c
any real number e.g, 15.5 1456.223 4568.12
C++
There are a number of top compilers for the C Computer Language which is currently used in the technology industry. You can try such compilers as C++, C Front and others.
for the largest number: #include<stdio.h> void main() { int a,b,c,number,largestnumber; a=99; b=9; c=77; if(a>b) { number=a; } else if(b>c) { number=b; } else { number=c; } largestnumber=number; printf("%d",largestnumber); }