C Program to Print all Prime Numbers between Two Numbers | Learn Coding
ฝัง
- เผยแพร่เมื่อ 25 พ.ย. 2019
- C Language Full Course for Beginners (Hindi) ....!
👇👇👇
• C Programming Full Cou...
Don't forget to tag our Channel...!
#primenumber
#clanguage
#cprogramming
#programming
#coding
#cprogram
#cprograms
#cbasicprogram
#LearnCoding
#ask4help
|| Content ||
writer ✍: ankush
voice 🔊: akhilesh
Thank You 👌👌👌
Most simple
Thanks 😊
Can u please write the same code using user defined function... tomorrow i ve practicals😢😢😢
You doing well sir❤️❤️
Awesome sir...
Love u bro ur explanation is too good
Please explain this program with draw run please sir......
Thank you so much sir 🙂🙂
Nice sir
Thanx bro
no words!!
What a explanation sir.....🙏🙏🙏
Thank you so much sir🙏🏻
Sir also make a video on how to download this application on which we can perform all c languages questions.
Thank you bhai
Sir if you provide dry run then there will be better
Plz dry run is program ka batao
Concept of This program can execute in for Java
sir aapne dry run karke nahi dikhaya
this dude living in 3070 coding in BIOS system 😂
Nice
👍☺
in first if statement 2%2==0 this means it will break why its going forward
yeah i guess we must do if (i%j==0 && i!=j)
Sir, how to find the sum of prime number upto 1000... According to this program
dude just give n2 as as a 1000 and n1 as a 1
For(n=0; i
open kis jaga hoga yeh any gude??
How to also count prime numbers between range
i realize Im kind of randomly asking but do anyone know of a good place to stream new series online ?
@Rowen Kendall I would suggest Flixzone. You can find it on google =)
#include
int main(){
int n,m,i,j,count=0;
printf("Enter Range ");
scanf("%d%d",&m,&n);
for(i=m; i
sir dry run nhi kiya aaj apne
Sir if we give -ve range then it doesn't print -ve no.'s
Same same
Sir agar hum
n1 =1
n2=5
Enter karte hai
1,2,3,5
Print hoga
Par 1 toh prime nahi hai
Prime number starting form 2.. U should give N1=2
2 se start karna
Where is dry run??😔
Bro mera ho nahi raha hai maine same copy kiya hai toh bhi nhi ho raha hai pls help karo
Bilkul smj nhi hai.....bhai logic bhi toh btao sirf code likhke kyu chd rhe ho????
Sir when 2%2 == 0;
Then 2 is not printed
Bt kyu ye print ho raha haiii
there's another if statement i.e, if(i==j) in this case 2==2 , then printf("%d", j); that's why 2 is printed.
sir i==j kiu hua?please bolia????
hello, sir this prime no. between 2no. more confuse in c prom. so please detail explain in c++
Include in iostream.h header file instead of stdio.h and two more thing you need to do 1st one is use cin instead of scanf and 2nd one is use cout instead of printf.
Remaining all logic will be same
@@LearnCodingOfficial no i mean this program output drirun in ur notebook how to get this output
@@aniketpowar101 yes bro main bhi yhi चाहता hoon
please trace the program
Ok
Sir 2 is not prime number
doesn't work.
Bhai khud hi karke khud hi samj ra hai kya.
Nhi smja
Totally wrong