C Program to Check a Number is Prime or Not | Learn Coding

Поділитися
Вставка
  • Опубліковано 12 чер 2021
  • C Language Full Course for Beginners (Hindi) ....!
    👇👇👇
    • C Programming Full Cou...
    Don't forget to tag our Channel...!
    #primenumber
    #clanguage
    #cprogramming
    #LearnCoding
    #primenumberprogram
    #programming
    #coding
    #cfullcourse
    #cprogram
    #cprograms
    #cbasicprogram
    || Content ||
    writer ✍: ankush
    voice 🔊: akhilesh
    Thank You 👌👌👌

КОМЕНТАРІ • 398

  • @Ak-if2fp
    @Ak-if2fp 3 роки тому +183

    Best explanation ever....

  • @guptsabyasachi346
    @guptsabyasachi346 Рік тому +10

    Excellent video, without your analysis, I would not have learned.

  • @akankshakumari5107
    @akankshakumari5107 2 роки тому +4

    Awesome Explanation sir😊 thank you so much

  • @suvrajitpanda3797
    @suvrajitpanda3797 Рік тому +1

    Best explanation in just 10 min vdo best way to save time❤️

  • @chetnapanchal8378
    @chetnapanchal8378 6 місяців тому +7

    Mind blowing explanation 👌👌

  • @bhimeshyadav7406
    @bhimeshyadav7406 Рік тому +1

    Best teaching and unforgettable sir.....keep it up more videos 👍👍

  • @sonali1300
    @sonali1300 Рік тому +3

    Best explanation Sir...i was struggling with this question a lot..thankyou 🙏🏻

  • @rushikeshmane4793
    @rushikeshmane4793 2 роки тому +4

    Your programming logic is vey easy ,carry on.

  • @SandipBhattacharya
    @SandipBhattacharya Рік тому +28

    All you have to do to test whether a number is prime or not is to divide it successively by all numbers from 2 to n/2, not n. If remainder of any of these divisions is zero, the number is not a prime. If none of the remainders results in 0, it’s a prime number.

    • @ramanshukla8498
      @ramanshukla8498 Рік тому +4

      what about 2

    • @pranjalsingh4586
      @pranjalsingh4586 7 місяців тому +2

      What about 9 & 15,
      9/2 doesn't give 0 as remainder. It means it is a *Prime number* according to you, but it's not 😊
      Same for 15/2 doesn't give 0 as remainder,So it will be a Prime Number..
      but it is also not a Prime number
      Hope you understood what I said 😊

    • @SandipBhattacharya
      @SandipBhattacharya 7 місяців тому +2

      @@pranjalsingh4586 While 9 and 15 don't have a remainder of zero when divided by 2, they do have a remainder of zero when divided by other numbers within the range of 2 to n/2, which makes them non-prime. As mentioned, my method requires checking divisions with all numbers in this range, not just 2. Hope you understand my statement now. 😊

    • @shaikadeebpasha7174
      @shaikadeebpasha7174 17 днів тому

      Why we should do n/2 in interation

  • @amanmate3581
    @amanmate3581 2 роки тому +19

    Now the doubt has cleared🙂thank you for making this video🙏👍

  • @bablukushwaha1793
    @bablukushwaha1793 3 роки тому +2

    You are a brand legend of coding

  • @abdullahabdulkhaliq5529
    @abdullahabdulkhaliq5529 8 місяців тому +2

    such a great video, very easy to understand it....

  • @hanangamingyt6274
    @hanangamingyt6274 2 роки тому

    Thank You so much! Really helpful video! Keep it Up!

  • @Santoshkumar-mm3pr
    @Santoshkumar-mm3pr 2 роки тому +6

    One of the best explanation 🔥

  • @DipakKumar-ey9ix
    @DipakKumar-ey9ix 2 роки тому +1

    very nice explanation...thank u !!!!

  • @sayantandey9117
    @sayantandey9117 Рік тому +3

    Your explanation is on next level 🔥 ❤️

  • @shreeacademy9113
    @shreeacademy9113 2 роки тому +24

    Love the way you teach❣️.
    God bless you sir ❣️😊. There should be teacher like you❣️😊.
    Lots of love for nepal❣️

  • @PoojaSharma-hp7zd
    @PoojaSharma-hp7zd 2 роки тому +2

    Thanks a lot sir you cleared my doubt 👌👌🤩🤩

  • @mubasherhussain5721
    @mubasherhussain5721 Рік тому

    Your way of teaching is best ever .. Thanks sir thanks alot 😊😊

  • @shobhanasolanki8807
    @shobhanasolanki8807 2 роки тому

    Clear explanation sir... Thank you 😊

  • @jannatbhengray1650
    @jannatbhengray1650 Рік тому +1

    Thank you so much sir.. you're clearing my all doubts from your videos

  • @simonbansal6415
    @simonbansal6415 2 роки тому

    such a great explanation....hats off....thank u so much

  • @shilpaandani4898
    @shilpaandani4898 2 роки тому

    Superb Explanation.!!

  • @precise_goals8678
    @precise_goals8678 Рік тому +1

    Liked and shared already ❤🎉 nice explanation sirji 😊

  • @gameselling
    @gameselling Рік тому +1

    After 5 videos finally I got solution thanks you so much sir 🙏

  • @amitkarlekar1512
    @amitkarlekar1512 Рік тому +1

    Aap bahot acche se explain karte hai. Aisehi videos banae rahiye, kafi simple way mein sikhne ko milta hai aapse.

  • @anjalilowanshi6197
    @anjalilowanshi6197 3 роки тому +1

    Thank you so much sir it's very important video thank uuuuuuuuuuuuuuuuu 🙏🏻🙏🏻

  • @emaanfatima8884
    @emaanfatima8884 2 роки тому +9

    i have been studying in matric for a whole year and tomorrow is my final practical of computer. i have been seeing this program in my computer textbook for a whole year now but never really understood . your lecture really helped :) . love from pakistan.

  • @onlinelearningwithowais2096
    @onlinelearningwithowais2096 2 роки тому +2

    A great explanation from an Indian brother ❤ love from Pakistan ❤

  • @Azad_07650
    @Azad_07650 2 роки тому

    thank you so much for explaining easily...

  • @sudipsarkar1512
    @sudipsarkar1512 Рік тому

    Thank you very much for the best explanation ❤️❤️🙏🙏🙏

  • @justanindianguy2898
    @justanindianguy2898 2 роки тому +1

    Sir aap kya ho...
    Aap to mahan ho sir aapki wajah se mai pura samajh gya kaise karna ha Thank you very much sir❤️

  • @ridimasingh6436
    @ridimasingh6436 Рік тому

    I loved your explanation....👏

  • @naheedkhan_cs1349
    @naheedkhan_cs1349 2 роки тому

    hatsoff for this explanation sir👌👌👌👌👌

  • @dhirenyogi4015
    @dhirenyogi4015 2 роки тому

    thanks sir i understand your concept and lots of love from Nepal:)

  • @prachikumari5574
    @prachikumari5574 2 роки тому +1

    Kitne easily smjh aa gya😩😩.
    Thank you sir

  • @rupamkumari4104
    @rupamkumari4104 2 роки тому

    Thanku sir for explained in easy way🙏🙏🙏🙏

  • @rajgurubhosale4595
    @rajgurubhosale4595 2 роки тому

    Best video on this topic🔥💯❤️

  • @gopinathdash4831
    @gopinathdash4831 2 роки тому

    Thanks for your explanation..so helpful...

  • @DhRuVpAtE
    @DhRuVpAtE Рік тому +9

    GOD LEVEL TEACHING TECHNIQUES 🙏🙏🙏

  • @masubbashir001
    @masubbashir001 2 роки тому

    Sir you are great . Thank you !

  • @samratmandal2523
    @samratmandal2523 2 роки тому +5

    Bohot channels par try Kiya!
    But samajh yaha aaya
    Thank you so much sir!
    Keep posting more learning videos like these...💙💙💙

    • @RealmGT
      @RealmGT 2 роки тому

      Same man :-)

  • @Akashkumar-vu9bu
    @Akashkumar-vu9bu Рік тому

    Sir apke sare top super rhte hai Orr explain krne ka tarika super se bhi upar 🤗😘

  • @D-Coder440
    @D-Coder440 Рік тому

    Nice Explanation Thank you so Much for that

  • @beenarawat6053
    @beenarawat6053 Рік тому +1

    Wow wht an explanation!✌️

  • @haripriya_bojja
    @haripriya_bojja Рік тому

    Thank you so much....your explanation is so good

  • @Kavyashreepandey22
    @Kavyashreepandey22 Місяць тому

    By God sir , I was tensed about this code from many days but u have cleared all my doubts 😊

  • @tabishakhtar9958
    @tabishakhtar9958 Рік тому

    Love your explanation sir ❤️

  • @abhijitsahoo2580
    @abhijitsahoo2580 Рік тому

    Sir apke teaching style ka jawab nahi
    ❤️❤️❤️❤️

  • @Anchal034
    @Anchal034 10 місяців тому

    Thank you for make it that easy to understand.

  • @rajeshdas-zu5lv
    @rajeshdas-zu5lv 2 роки тому +5

    Toba toba toba sara mood khus kardia 😂😂😂😂❤❤❤❤

  • @mohammedkhaleelurrahmanaim8397
    @mohammedkhaleelurrahmanaim8397 2 роки тому +1

    Nice explanation God bless u😊😊

  • @shivrajprachande540
    @shivrajprachande540 7 місяців тому

    thanku bhai ekk Number Shikate hoo App👍👍👍👍

  • @ldragogaming8930
    @ldragogaming8930 Рік тому

    Jitne doubts the sare clear kr deye😍

  • @piyushsinha5117
    @piyushsinha5117 6 місяців тому +1

    Thank you bhai ! Nice explanation

  • @aidanafc
    @aidanafc 7 місяців тому +1

    you explain better than our faculty :)

  • @koushikmukherjee6482
    @koushikmukherjee6482 2 роки тому

    i am clear with explanation..thank you bro...from wb

  • @syedmansababbaszaidi1842
    @syedmansababbaszaidi1842 Рік тому +1

    One of the best explanation.

  • @rabiaaa17
    @rabiaaa17 2 роки тому +1

    Amazing! 👌

  • @prensudangol1547
    @prensudangol1547 2 роки тому +1

    i liked your coding simplicity

  • @ABC-LTD
    @ABC-LTD Рік тому +1

    Best vai best.......you are the best one ❤❤❤❤👍👍👍👍👍👍

  • @dfordigitalduniya4764
    @dfordigitalduniya4764 Рік тому

    Nice Explained ....Thanks Bro

  • @mirajscreation2355
    @mirajscreation2355 Рік тому

    Sir apke jaisa koi nahi samjha sakta❤

  • @mdmehedihasan2555
    @mdmehedihasan2555 Рік тому

    Helpful. Thank you:)

  • @Iron.man.007
    @Iron.man.007 17 днів тому

    Best explanation bro..🎉

  • @debasishdascst8494
    @debasishdascst8494 2 роки тому

    Wow really you are so good at explaining

  • @rahilshaikh4954
    @rahilshaikh4954 2 роки тому

    The best explanation!!

  • @abhishekak8597
    @abhishekak8597 Рік тому

    thankyou sir jee you are teaching awesome 🙏🙏

  • @sanyasupriya6469
    @sanyasupriya6469 2 роки тому

    Thanku so much nice explanation ☺️

  • @AbdulRehman-re1bh
    @AbdulRehman-re1bh Рік тому

    That is the best explanation keep it up, brother

  • @prapti.289
    @prapti.289 5 місяців тому

    Tomorrow is my practical exam and this video is so helpful. Thank you so much sir 🙏

  • @thinkover3590
    @thinkover3590 Рік тому

    Thank u sir for This amazing section

  • @huntereditzz2149
    @huntereditzz2149 Рік тому

    Thanks man it was really helpful

  • @prasanjitdas2295
    @prasanjitdas2295 24 дні тому

    Sir your teaching method is very well and also the dry run method is helps to understanding easily

  • @vinityadav1641
    @vinityadav1641 10 місяців тому

    Thank you Bhaiya . Mera practical exam aa raha h .apse bohot help mill Raha ❤

  • @techcure18
    @techcure18 5 місяців тому

    Fabulous explanation 🎉🎉🎉🎉🎉

  • @riteshpal4804
    @riteshpal4804 2 роки тому

    Bahut bahut dhnaybaad bhai 😍😍

  • @Abinashmajhii
    @Abinashmajhii 5 місяців тому

    Best Explanation sir❤

  • @VishalGupta-zf3vd
    @VishalGupta-zf3vd Рік тому

    Explaination of driven is amazing sir

  • @englishwithzima2901
    @englishwithzima2901 2 роки тому

    What a best explosion it is!

  • @oddballgames3357
    @oddballgames3357 2 роки тому

    Behtareen bhai thank you

  • @ridafatima6299
    @ridafatima6299 2 місяці тому

    your such anice teacher my gawd

  • @shwetajawanjal5859
    @shwetajawanjal5859 Рік тому

    Better explained 🙌

  • @user-cy5nh7fs6c
    @user-cy5nh7fs6c 6 місяців тому

    pehli baar ma answer samj ma aagya thanks

  • @nihalkulkarni6015
    @nihalkulkarni6015 Рік тому

    Great explanation!!

  • @paragjyotisaikia7565
    @paragjyotisaikia7565 2 роки тому

    Better than best explanation

  • @MadhuSharma-ni9gi
    @MadhuSharma-ni9gi 2 роки тому +1

    Nice Explanation Sir

  • @asxdd._
    @asxdd._ 10 місяців тому

    Thanks sir too helpfull❤

  • @skxdsbt
    @skxdsbt Місяць тому

    Thanks a lot sir!

  • @proudtoislam
    @proudtoislam 2 роки тому

    Well explained 👌

  • @surabhidevdare7050
    @surabhidevdare7050 Рік тому

    Explanation 🔥🔥

  • @karanshrivastava4874
    @karanshrivastava4874 2 роки тому

    sir apka dry run wala idea bahut accha hai 😀😀😀😀

  • @sangamxghimire
    @sangamxghimire 2 роки тому

    Thanks sir
    Love from Nepal 🇳🇵

  • @mrugank9
    @mrugank9 Рік тому

    Best explanation 👌🏻

  • @mdimran9937
    @mdimran9937 Рік тому

    Thank you so much sir for this help

  • @akashbalmiki1673
    @akashbalmiki1673 2 роки тому

    I am so thankful 🙂sir

  • @eugenemontesor1360
    @eugenemontesor1360 2 роки тому

    Very nice explanation.

  • @SrushtishashikantPatil
    @SrushtishashikantPatil 12 днів тому

    Thank you so much!

  • @PRANAV-lf2dw
    @PRANAV-lf2dw 2 місяці тому

    Ek number samjaya bro

  • @kajaljeswani1153
    @kajaljeswani1153 Рік тому

    Best video ever watched