Home » Strong Number Program in C | C Language Tutorial | Mr. Srinivas naresh i technology c language

Strong Number Program in C | C Language Tutorial | Mr. Srinivas naresh i technology c language

by LKJHGrTfghDgh



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 us.training@nareshit.com/online@nareshit.com 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

Strong Number Program in C | C Language Tutorial | Mr. Srinivas

Strong Number Program in C | C Language Tutorial | Mr. Srinivas

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

related posts

20 comments

Arunava Sarkar 24/09/2021 - 3:32 Chiều

Your explanation is too good.. thank you so much sir

Reply
CSE EDUCATION TRICKS 24/09/2021 - 3:32 Chiều

sir u didn't declare i

Reply
Rami Reddy Gayathri 24/09/2021 - 3:32 Chiều

In this program ,u r not declared the i sir.

Reply
s prashanth 24/09/2021 - 3:32 Chiều

Super sir

Reply
Koushik Madhav Patnaik 24/09/2021 - 3:32 Chiều

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

Reply
Karan Singh 24/09/2021 - 3:32 Chiều

Sir please videos sequence se arrange kar dejiye pattern follow karne me problem hoti hai

Reply
Abdul Hafeez Shaik 24/09/2021 - 3:32 Chiều

Thanks sir……good keep it up sir

Reply
Chaganti Reddy 24/09/2021 - 3:32 Chiều

Sir I am not getting any output not only this program for perfect number also

Reply
ProbablyMusic 24/09/2021 - 3:32 Chiều

#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;
}

Reply
Sai Krishna Handekari 24/09/2021 - 3:32 Chiều

Sir,
If we take fac=1 at the int then I am not getting the correct answer.
So please clarify the doubt.

Reply
Shruti Patil 24/09/2021 - 3:32 Chiều

Thanks sir

Reply
Jaideep Sai 24/09/2021 - 3:32 Chiều

sir am not getting result

Reply
Ayush Mishra 24/09/2021 - 3:32 Chiều

sir i, am facing segmentation fault in this can u tell pls the prblm in it

Reply
Shahil 24/09/2021 - 3:32 Chiều

Thank you.

Reply
Dikshant Godghate 24/09/2021 - 3:32 Chiều

well Explained it was very helpful..!

Reply
joshua gadipe 24/09/2021 - 3:32 Chiều

#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");
}

Reply
likhitha shetty 24/09/2021 - 3:32 Chiều

Sir in place of read you said to write printf and scanf what we should write sir

Reply
Abhik Kumar Pal 24/09/2021 - 3:32 Chiều

sir,,you forgot to mention ''i'' as an int variable.

Reply
Pawan Sahu 24/09/2021 - 3:32 Chiều

Superb

Reply
Sankalp Raj Singh 24/09/2021 - 3:32 Chiều

Sir there u have written that n==temp… Rather than sum==temp.

Reply

Leave a Comment