Strong Number Program in C Programming
C Language Tutorial Videos | Mr. Srinivas
** For Online Training Registration: ? Call: +91-8179191999
? Visit Our Website for Classroom Training:
? For Online Training:
————————–
? About NareshIT:
“Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA ,Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA,Hyderabad, Chennai and Vijayawada,Bangalore India which provides online training across all the locations
————————–
? Our Online Training Features:
1.Training with Real-Time Experts
2.Industry Specific Scenario’s
3.Flexible Timings
4.Soft Copy of Material
5. Share Videos of each and every session.
————————–
Please write back to us at [email protected]/[email protected] or Call us at USA:
+1404-232-9879 or India: +918179191999
** Check The Below Links**
? For Course Reg:
? Subscribe to Our Channel:
? Circle us on G+:
? Like us on Facebook:
? Follow us on Twitter:
? Follow us on Linkedin:
? Follow us on Instagram: .
Images related to the topic naresh i technology c language
Search related to the topic Strong Number Program in C | C Language Tutorial | Mr. Srinivas
#Strong #Number #Program #Language #Tutorial #Srinivas
Strong Number Program in C | C Language Tutorial | Mr. Srinivas
naresh i technology c language
See all the latest ways to make money online: See more here
See all the latest ways to make money online: See more here
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: https://goo.gl/HIB0wL
sir u didn't declare i
In this program ,u r not declared the i sir.
Thank you 😊
Super sir
Sir I have a doubt…in this video u declared n as temporary variable because its value is changing but in modify operators the variables and not declared as temporary variables….why sir plz clarify my doubt
Sir please videos sequence se arrange kar dejiye pattern follow karne me problem hoti hai
Thanks sir……good keep it up sir
Sir I am not getting any output not only this program for perfect number also
#include <stdio.h>
int main() {
int n,r,i,fact=1,sum=0,t;
printf("enter a number:");
scanf("%d",&n);
t=n;
while(n>0)
{
r=n%10;
fact=1;
for(i=r;i>=1;i–)
{
fact=fact*i;
}
sum=sum+fact;
n=n/10;
}
n=t;
if(sum==n)
printf("strong number");
else
printf("not strong");
return 0;
}
Sir,
If we take fac=1 at the int then I am not getting the correct answer.
So please clarify the doubt.
Thanks sir
Excellent 👍👍
sir am not getting result
sir i, am facing segmentation fault in this can u tell pls the prblm in it
Thank you.
well Explained it was very helpful..!
#include <stdio.h>
int main()
{
int n,i,r,temp,fact,sum=0;
printf("enter the number:");
scanf("%d",&n);
temp=n;
while(n>0)
{
r=n%10;
fact=1;
for(i=r;i>=1;i–)
{
fact=fact*i;
}
sum=sum+fact;
n=n/10;
}
n=temp;
if(n==sum)
printf("it is a strong number");
else
printf("it is not a strong number");
}
Sir in place of read you said to write printf and scanf what we should write sir
sir,,you forgot to mention ''i'' as an int variable.
Superb
Sir there u have written that n==temp… Rather than sum==temp.
Nice explanations bro