Program to print all prime numbers between two numbers in C

  Рет қаралды 327,737

MySirG.com

MySirG.com

Күн бұрын

Пікірлер: 202
@shahriarakbar3102
@shahriarakbar3102 8 жыл бұрын
You made it look so simple! I'm a beginner in C, I found it really really great to help me crack the logic behind every program! Please, keep on making great videos, sir!
@swetachaudhary9220
@swetachaudhary9220 3 жыл бұрын
Sir you are a great teacher, really. Whenever I want to study c language, I am seeing your videos. Thank you so much sir. 🙏
@tahirarain998
@tahirarain998 Жыл бұрын
I’ve watched so many other videos but didn’t get the concept until I watched your videos. Even a dummy like me can grasp the concept. You’re the best teacher sir. I
@mysirgdotcom
@mysirgdotcom Жыл бұрын
You are not dummy or dumb, it’s just you have listened to it for the first time. You will do miracles in life, trust me. Best wishes.
@AlokKumar-mb6dn
@AlokKumar-mb6dn 6 жыл бұрын
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 U r far far better than the faculties of prestigious engineering institute in the way u approach any problem. U r the best👌👌I simply can't resist myself writing this. Thank you sir
@chandanmishra3297
@chandanmishra3297 7 жыл бұрын
sir.... i am very thankful to you sir... i don't know who is genius person but for me you are genius.... your thoughts extremely unique...
@ArvindTechSolution
@ArvindTechSolution 5 жыл бұрын
Yes
@llltv2815
@llltv2815 4 жыл бұрын
Bsdk
@souravsinha9389
@souravsinha9389 4 жыл бұрын
Mind your language.. Is this is the way you talk with your parents..
@SmartProgramming
@SmartProgramming 6 жыл бұрын
the way you have explained the logic's are awesome sir, thanks for this 👍👍
@singhvishal8613
@singhvishal8613 2 жыл бұрын
You have saved my time I was trying to print prime nos from the night but I was every time failed to print it thankuu so much!!
@tayeebasiddiq675
@tayeebasiddiq675 5 жыл бұрын
JAZAKALLAH SIR! thank u soooo much may Allah gives u much mire strength
@upendrarajput6873
@upendrarajput6873 7 жыл бұрын
YOU ARE SO MINDED PERSON !!!!!!!!!!!!!!WOW THANKS A LOT . you know sir there are very confusion in find prime number ,after watch your video my confusion are solved ...again a thanks a lot.................
@samratganguly
@samratganguly 5 жыл бұрын
Fabulous ..I watched too many videos on you tube for this particular program . But didn't find any relevant except your explanation. Great sir ,...really great.
@juhisingh28
@juhisingh28 8 жыл бұрын
sir ,the way you explain us it is really understandable
@shankarshankar5298
@shankarshankar5298 4 жыл бұрын
Well said
@ankushchauhan4727
@ankushchauhan4727 8 жыл бұрын
Explanation so simplified. Just amazing!!
@karunakeshari1058
@karunakeshari1058 4 жыл бұрын
It is very easy to understand from your videos😍😍
@shanawazqureshi4777
@shanawazqureshi4777 5 жыл бұрын
Sir, I'm proud of you. You have unique method of teaching the students. And your style of explaining the logic is really unparallel. Thank you so much for your great selflessness to the favour of students. May Allah keep blessing you for ever.
@srinivasaraoyp3640
@srinivasaraoyp3640 4 жыл бұрын
Explanation is so clear. Thank you Sir.
@shreyashree6781
@shreyashree6781 7 жыл бұрын
thanks sir...ur way of explaining logic ,make me understand clearly this program..
@BPEntertainment58
@BPEntertainment58 7 жыл бұрын
your idea is very good to find a logic of any program..!
@saurabhkumar2265
@saurabhkumar2265 6 жыл бұрын
You are the best teacher in this world
@iabangash1
@iabangash1 7 жыл бұрын
Thanks Sir, Your video helped me in my assignment, good work, God bless U
@om_prakash1685
@om_prakash1685 4 жыл бұрын
Sir, you made it very easy to understand. Thank you... 🙏
@CraftyGuruma
@CraftyGuruma 5 жыл бұрын
Thank you sir....u always simplify everything
@mahadeolokhande2996
@mahadeolokhande2996 10 ай бұрын
sir aapki trick acchi aur acche se explain krte ho ,code with harry se achha hai ....aap beginner ke liye aur experiance ke liye bhi achha hai aapka
@arpitac9481
@arpitac9481 3 жыл бұрын
Superb explained ... Tqsm sir
@pravinkhedkar156
@pravinkhedkar156 5 жыл бұрын
OK sir now I have liked it, thank you very much sir!
@ROY-yz9lb
@ROY-yz9lb 3 жыл бұрын
agar ap na hote to mai thik se coding sikh nehi pata .... again .... thanks a lot
@akashkumaryadav1827
@akashkumaryadav1827 3 жыл бұрын
Lovely explanation sirr
@MySanAndreas
@MySanAndreas 7 жыл бұрын
Thanks. Couldn't understand your words but understood everything from the video.
@vivekkumar-gn1gn
@vivekkumar-gn1gn 7 жыл бұрын
Sir Really your logic is very very good and so easy in understanding Thank you very much sir
@pranjalgoyal6747
@pranjalgoyal6747 5 жыл бұрын
Thank you, sir! cleared my concept
@joramtakar5616
@joramtakar5616 6 жыл бұрын
Sir your teaching style is above all n others don't convey as good as u do... Thanks master
@mercerkace2023
@mercerkace2023 5 жыл бұрын
Sir aap mere liye Messanger of God hai.
@raghvendrakumar5128
@raghvendrakumar5128 10 ай бұрын
😂😂
@karantiwari8333
@karantiwari8333 6 жыл бұрын
sir your lectures are wonderful and i am very thankful to you for teaching me the basic concepts of c programming.
@yasirhussain1875
@yasirhussain1875 7 жыл бұрын
Thanks sir your teaching style is great.
@adityaporwal7521
@adityaporwal7521 6 жыл бұрын
Explained at its best
@MFaisalHafeez
@MFaisalHafeez 7 жыл бұрын
Write a program that will ask the user to enter lower limit and upper limit in form of integers. The program will calculate and show the prime numbers within the range from lower limit to upper limit. All the prime numbers within the specified range should be displayed on the output. The program should also aggregate all the prime numbers within the range and show their sum as well. Also show the total number of prime numbers within the specified range. Make sure that the user should not be able to enter a negative value or a value less than 2. Also the value entered as lower limit should not be greater than the upper limit.
@satishprasadyadav
@satishprasadyadav Жыл бұрын
Thank you so much sir❤️❤️❤️.
@pallavi4net
@pallavi4net 4 жыл бұрын
sir apke paer mw chuna chata hu ye video mera bhut madad kiya (mein keval 10 sal ka hu)
@pallavi4net
@pallavi4net 4 жыл бұрын
sir apho ho devta
@vishu3766
@vishu3766 2 жыл бұрын
Thank You Sir 😍
@swetachaudhary9220
@swetachaudhary9220 3 жыл бұрын
Thank you so much sir🙏
@resurgam2243
@resurgam2243 6 жыл бұрын
thank you so much sir. really helpful :-)
@khushichaurasia7599
@khushichaurasia7599 5 жыл бұрын
Printf ("thanku so much sr " ) ; Scanf ("%d" our lecutres are awesome );
@amitpathak2360
@amitpathak2360 4 жыл бұрын
After compiled Error 1 Warning 1 😜🤣🤣
@Mukeshmky1997
@Mukeshmky1997 5 жыл бұрын
Nice sirg love you so much.
@mousumidebnath2786
@mousumidebnath2786 6 жыл бұрын
Very good explanation sir
@dhruvpatel6886
@dhruvpatel6886 7 жыл бұрын
Very nice sir...Thanks
@vishalrawat7482
@vishalrawat7482 2 жыл бұрын
Spr sir
@movieroot3772
@movieroot3772 3 жыл бұрын
Superb sir ji❤️❤️❤️❤️
@musicbuddy5306
@musicbuddy5306 6 жыл бұрын
Nice one sir...impressed
@sirajmaths820
@sirajmaths820 3 жыл бұрын
I proud on you sir
@code-to-learn
@code-to-learn 3 жыл бұрын
You are great ❤️❤️❤️
@rj_854
@rj_854 2 жыл бұрын
Thank you sir ji
@-hp9vq
@-hp9vq 6 жыл бұрын
World best teachet
@elizabeths6391
@elizabeths6391 6 жыл бұрын
i cant understand hindi but the way of ur teaching is very good to understand sir pls upload some more videos sir
@mysirgdotcom
@mysirgdotcom 6 жыл бұрын
Thanks
@devendrakumarmishra1728
@devendrakumarmishra1728 6 жыл бұрын
Sir, you are awesome.
@shwetaasingh4807
@shwetaasingh4807 6 жыл бұрын
Great sir..
@rajivswargiary1536
@rajivswargiary1536 5 жыл бұрын
Very good explanation ...
@kiranshelke4515
@kiranshelke4515 6 жыл бұрын
Really nice video sir
@akhileshtiwari7099
@akhileshtiwari7099 4 жыл бұрын
Sir u r great 💯
@ROY-yz9lb
@ROY-yz9lb 3 жыл бұрын
thanks a lot sir ji .... 😄
@alokraj2255
@alokraj2255 6 жыл бұрын
\\Thanks sir \\Printing and counting- #include int main() { int a,b,x,i,count=0; printf("Enter two numbers to print all prime numbers between them "); scanf("%d%d",&a,&b); printf("These are the prime numbers between %d to %d ",a,b); for(x=a;x
@prashantverma7312
@prashantverma7312 5 жыл бұрын
Thank you sir
@paulshourav8382
@paulshourav8382 7 жыл бұрын
thanks man ... it helped me a lot to solve such problem
@saanvi125
@saanvi125 7 жыл бұрын
very good
@NitinPatel-yc1to
@NitinPatel-yc1to Ай бұрын
1 number sir😃
@shivanikhandelwal2239
@shivanikhandelwal2239 5 жыл бұрын
thanku so much Sir it is very helpful video and please sir make some program in Java
@niranjanchavan5091
@niranjanchavan5091 6 жыл бұрын
very cool trick..
@arunkaurav8894
@arunkaurav8894 6 жыл бұрын
Very very thankfully sir
@manojkr.basumatary182
@manojkr.basumatary182 7 жыл бұрын
Thumbs up Guruji :)
@md_nawshin_zaman
@md_nawshin_zaman 5 жыл бұрын
Great
@gauravtayal7143
@gauravtayal7143 6 жыл бұрын
Sir u r great
@sushantshivraj1198
@sushantshivraj1198 4 жыл бұрын
great sir
@arpitmore629
@arpitmore629 8 жыл бұрын
good work
@RanjeetKumar-cg7fk
@RanjeetKumar-cg7fk 7 жыл бұрын
arpit more Gud job sir so really thnxx
@roh9934
@roh9934 7 жыл бұрын
Guys,this implementation is really good but fails miserably because its time complexity is O(n^2) i think.So use Segmented Sieve if you are working with big numbers.
@Ex-Coder
@Ex-Coder 6 жыл бұрын
*just.... wowwww*
@ShiWanika_world2508
@ShiWanika_world2508 6 жыл бұрын
Sir iske Andar wale for loop me i
@nitinsaini5873
@nitinsaini5873 6 жыл бұрын
you are awesome
@AJAYSHARMA-gb6qw
@AJAYSHARMA-gb6qw 6 жыл бұрын
Nice vedio sir
@hamzaarshad5349
@hamzaarshad5349 6 жыл бұрын
Thank u 4rm Pakistan...
@hardikkamboj3528
@hardikkamboj3528 6 жыл бұрын
oh welocme brother...but sadly people like arpit basen are present on both sides of border and because of them we cannot have peacefull relations...
@freeefire3731
@freeefire3731 2 жыл бұрын
sir is it applicable when l=1 and u=7?
@kashinathkumar5124
@kashinathkumar5124 3 жыл бұрын
Super sir
@Top5Category
@Top5Category 7 жыл бұрын
nice
@ShubhamKumar-uh2by
@ShubhamKumar-uh2by 6 жыл бұрын
Sir jo second wala if condition he usseme ( i==x) par second wala loop to (i
@kokilanagaveti7965
@kokilanagaveti7965 4 жыл бұрын
sir if we enter 3 then the in program it will incremented by one how we can print the value 3
@Bondhuchol-786
@Bondhuchol-786 5 жыл бұрын
Sir. Lagrange interpolation programme upload kijiye na please...
@Ankit-we8ym
@Ankit-we8ym 7 жыл бұрын
you are awesome thanks for teaching sir
@elizabeths6391
@elizabeths6391 6 жыл бұрын
hello sir your explainning is very good but ,in the program to express a number in 2 prime numbers in that i understand cleanly. but i cant execute the output.What is the reason sir.Please tell me
@Bondhuchol-786
@Bondhuchol-786 6 жыл бұрын
Thank you sir....
@manavbansal7617
@manavbansal7617 8 жыл бұрын
SIR HOW TO CALCULATE PRIME NUMBERS FROM 1 TO N THAT IS HOW CAN WE FIND OUT N PRIME NUMBERS EG:- IF WE ENTER 5 AS N SO OUTPUT COMES AS 2 3 5 7 11
@arshiyajamkhanghar9007
@arshiyajamkhanghar9007 4 жыл бұрын
I want exactly this....
@avinashkomuravelly2507
@avinashkomuravelly2507 4 жыл бұрын
Bro that is nth prime not this program
@munizatalib4929
@munizatalib4929 6 жыл бұрын
great ,, acknowledgement from Pakistan
@neerajmahapatra5239
@neerajmahapatra5239 6 жыл бұрын
Yup logic is very important .....
@manishadagar8255
@manishadagar8255 4 жыл бұрын
Which software is used 4 c language
@sukruthirao7506
@sukruthirao7506 4 жыл бұрын
sir i didnt understand only one part.Why did you take for(i=2;i
@akashmaurya6149
@akashmaurya6149 7 жыл бұрын
sir i want learn programming but i'm not choose technology in difference technology plz u tell me deference between .net technology and java . who is best technology
@sagniktripathy4014
@sagniktripathy4014 7 жыл бұрын
if the output says that "11,13,17,19" means seperated bt commas bt not after the last prime num of given range?
@_WHO_AMI
@_WHO_AMI 7 жыл бұрын
Thanku srjii
@SunnySunny-ex3sz
@SunnySunny-ex3sz 7 жыл бұрын
Thank you sir.
@besttimeofthisplanet4234
@besttimeofthisplanet4234 5 жыл бұрын
Thanks
@sayantanhalder1831
@sayantanhalder1831 6 жыл бұрын
sir...isn't it necessary to check which number is greater and which is lesser??
@sanketbari2826
@sanketbari2826 5 жыл бұрын
Just iterate the inner koop till sqrt (x)
@nileshdubey8594
@nileshdubey8594 6 жыл бұрын
If we need to printing all prime number between given interval as well as we need to print sum of all prime number then ?? Plzz give m suggestion plzzz
@annuannu4890
@annuannu4890 5 жыл бұрын
Thxx sir
Program to print all prime factors of a number in C
20:16
MySirG.com
Рет қаралды 95 М.
Program to check whether a number is Prime or not in C
18:47
MySirG.com
Рет қаралды 340 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
Program to print all Armstrong numbers under 1000 in C language
15:56
C Program to Print all  Prime Numbers Between Two Numbers
8:37
ScoreShala
Рет қаралды 4,9 М.
Program to calculate LCM of two numbers in C language
20:36
MySirG.com
Рет қаралды 223 М.
Program to Print All Prime Numbers between 1 to 100 in Java by Deepak
10:59
Smart Programming
Рет қаралды 392 М.
Program to print first N terms of Fibonacci series in C
14:45
MySirG.com
Рет қаралды 278 М.
Prime Number Between 1 to 100 in Java - In Hindi
15:27
codeitup
Рет қаралды 68 М.
Program to calculate sum of digits of a number in C language
14:20
C Program to Find Prime Number
27:20
CodeWithHarry
Рет қаралды 147 М.