CPP program to check leap year

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 52

  • @tusharsadariya7296
    @tusharsadariya7296 Год назад +2

    One of the best video for better understanding ❤❤❤❤

  • @motivees3934
    @motivees3934 3 года назад +4

    thank u very much may Allah bless u 🙏

  • @RehanAli-kr6hp
    @RehanAli-kr6hp 6 лет назад

    one of the best videos i've ever seen... thank u sir

  • @sanjanasavner6267
    @sanjanasavner6267 2 года назад +1

    Thanks for this video 👌

  • @vaidityachoudhary134
    @vaidityachoudhary134 5 лет назад

    Seriously one of the programming vedios on you tube.

  • @kirtiparashar1726
    @kirtiparashar1726 3 года назад +1

    Thank you so much sir 🌸

  • @shubhangishinde5544
    @shubhangishinde5544 4 года назад

    I like the way you explain

  • @tobirama6888
    @tobirama6888 4 года назад

    Sir hum getch k jagah per return 0; bhi to use kr skte hain aur hume tab conio lgane ki bhi jarurt nhi padegi!

  • @Aditya_rajbhar1
    @Aditya_rajbhar1 4 месяца назад

    Thank you sir ji

  • @shyamsundarprajapati9931
    @shyamsundarprajapati9931 7 лет назад

    very good sir gi

  • @rajprajapati7697
    @rajprajapati7697 5 лет назад +1

    Sir... 🙏🙏... Give me the answer that...... WHY we only divide any year by 4oo & 1oo.
    .
    Plz give me answer anyone 🙏🙏🙏

    • @SatyamSingh-hz9su
      @SatyamSingh-hz9su 4 года назад

      Bhai simple maths Google Kele leap year tujhe samajh a jaega

  • @swarnimabanjare1254
    @swarnimabanjare1254 5 лет назад

    Thankyou soo much sir..

  • @shalumall8014
    @shalumall8014 6 месяцев назад

    Sir please tell what is century year

  • @rakeshrajput537
    @rakeshrajput537 7 лет назад

    sir data structure ki problems or solution nhin h site open karo to lecture open ho jate hai

  • @sumitsengupta4028
    @sumitsengupta4028 4 года назад

    Thank you sir

  • @hardgamer3993
    @hardgamer3993 4 года назад +1

    c++//wap to calculate the addition of two no using class & object, for continue the calculate use do while loop statement in main function

  • @TheR7op
    @TheR7op Год назад

    thanks

  • @ddanielle576
    @ddanielle576 6 лет назад +2

    how do I make the program into a loop so it keeps asking for a year and also allows me to exit?

    • @deependarjangid8370
      @deependarjangid8370 3 года назад

      just put that cpde in for loop and set of condition at beginig and if user entered year is 0 then break or goto exist

  • @FollowKaroJi
    @FollowKaroJi 4 года назад +1

    Sir Ye true kese hua jabki year 2016 divide hee nahi hota 100 se???
    Plz Reply nee..
    I m confused...

    • @project_x0
      @project_x0 4 года назад

      || or operator if a one true so not check second condition.

  • @sharadbhadouria1227
    @sharadbhadouria1227 2 года назад

    Why we wrote?? (year%100! =0)
    According to me it should be (year%100! ==0)

  • @lilygrace9603
    @lilygrace9603 5 лет назад

    you nailed it :D

  • @Sanjeetkumar-ql5nr
    @Sanjeetkumar-ql5nr 6 лет назад

    Hii sir, when i run c++ program on code block it will show fatal error iostream.h: no such file or directive
    plz help me sir

    • @Saurabhkumar-hz9wj
      @Saurabhkumar-hz9wj 6 лет назад +2

      use #include , dont add .h at the end

    • @sxhil.d3v
      @sxhil.d3v 3 года назад

      Haan #include bhi dalrha hu wahi btrha 😶

  • @AqeelAhmad-ud1fh
    @AqeelAhmad-ud1fh 7 лет назад

    hello sir I hav dev++ 4.9.2 compiler I wana go for graphic programming I hav tried so many times by watching different methods on internet but I failed plz lead me in a best way

  • @anandkaliramana
    @anandkaliramana Год назад

    Return value nhi ki sir😅

  • @chetansharma3183
    @chetansharma3183 7 лет назад

    sir make a video on armstrong number

  • @vsh155
    @vsh155 5 лет назад

    🤘👍🤙👌👌🤘👍🤘

  • @anshchopra8947
    @anshchopra8947 4 года назад +2

    Your logic is wrong just need a division by 4 no need of 100 &400 etc

    • @yashboss9593
      @yashboss9593 4 года назад +3

      You are wrong

    • @anshchopra8947
      @anshchopra8947 4 года назад +1

      @@yashboss9593 no bro i am right i have done this by not using 100 and 400

    • @MicroNG
      @MicroNG 3 года назад

      Kindly check the details

    • @anshchopra8947
      @anshchopra8947 3 года назад

      @@MicroNG of what

    • @rent6745
      @rent6745 2 года назад

      Try the program with1900 as the input
      , it'll show you that it is a leap year when it's clearly not, since you removed 100&400 the code will be wrong for various different century years(ending in 00), you illiterate.

  • @KundanKumar-uc4ng
    @KundanKumar-uc4ng 4 года назад

    if we check only one condition :if(year%4==0)
    then we will get output of leap year

    • @TheR7op
      @TheR7op Год назад

      no its only for none leap year

  • @prachi_s_h
    @prachi_s_h 5 лет назад

    But leap year is comes in every 4 yr, Bcoz of Earth is move around the Sun then why 1900 is not a leap year??🤔

    • @rohitpawar4096
      @rohitpawar4096 5 лет назад

      1900 is not a leap year because it is an century year

    • @SatyamSingh-hz9su
      @SatyamSingh-hz9su 4 года назад +1

      Bhai jab leap yr mante Hain tab Kuch time extra Lete Hain Jo ki age chal ke 100th yr mein sirf 365 years deta hai.... Baki jab tu ek yr ke time ko calculate krega tab tu khud samajh jaega

    • @nemesisAB19
      @nemesisAB19 4 года назад +1

      Bro b'coz we use Gregorian Calendar and in Gregorian Calendar it is mentioned that if the year is divisible by 4 and the century year it is called leap year

  • @peerm3058
    @peerm3058 3 года назад

    Sir my DOB is 2000 1 jan

  • @willqwert676
    @willqwert676 2 года назад

    Thanks