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
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.
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
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
One of the best video for better understanding ❤❤❤❤
thank u very much may Allah bless u 🙏
❤️
one of the best videos i've ever seen... thank u sir
Thanks for this video 👌
Seriously one of the programming vedios on you tube.
Thank you so much sir 🌸
Yeah
I like the way you explain
Sir hum getch k jagah per return 0; bhi to use kr skte hain aur hume tab conio lgane ki bhi jarurt nhi padegi!
Thank you sir ji
very good sir gi
Sir... 🙏🙏... Give me the answer that...... WHY we only divide any year by 4oo & 1oo.
.
Plz give me answer anyone 🙏🙏🙏
Bhai simple maths Google Kele leap year tujhe samajh a jaega
Thankyou soo much sir..
Sir please tell what is century year
sir data structure ki problems or solution nhin h site open karo to lecture open ho jate hai
Thank you sir
c++//wap to calculate the addition of two no using class & object, for continue the calculate use do while loop statement in main function
thanks
how do I make the program into a loop so it keeps asking for a year and also allows me to exit?
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
Sir Ye true kese hua jabki year 2016 divide hee nahi hota 100 se???
Plz Reply nee..
I m confused...
|| or operator if a one true so not check second condition.
Why we wrote?? (year%100! =0)
According to me it should be (year%100! ==0)
No, you are wrong aur pado beta😂
you nailed it :D
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
use #include , dont add .h at the end
Haan #include bhi dalrha hu wahi btrha 😶
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
Return value nhi ki sir😅
getch() toh kiya hai ish liye nahi ki return value😂
sir make a video on armstrong number
🤘👍🤙👌👌🤘👍🤘
Your logic is wrong just need a division by 4 no need of 100 &400 etc
You are wrong
@@yashboss9593 no bro i am right i have done this by not using 100 and 400
Kindly check the details
@@MicroNG of what
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.
if we check only one condition :if(year%4==0)
then we will get output of leap year
no its only for none leap year
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??🤔
1900 is not a leap year because it is an century year
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
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
Sir my DOB is 2000 1 jan
Kindly check the details
2000 is leap year
Thanks