- 2
Java Program to find leap year.year should be 4 digit.year should not be negative number
All condition should be there
5 Réponses
+ 8
Plz show us your attempt.
If you have any doubts in that we can help you out.
+ 7
Dhiraj singh✔️
Conditions you putted for leap year are correct, and that condition for 4 digit number seems correct too as according to this: https://www.quora.com/Which-year-in-human-history-was-truly-the-first-leap-year 1st leap year is a 4 digit number(you can put condition to be >=1752 that would make more sense), who knows that the Earth will see a 5 digit leap year ? still I see no problem in allowing for greater number of digits to fall in leap year.
+ 7
Hello, 😊
If you need help you can post the code you are struggling with!
• SEARCH for similar QUESTIONS or ANSWERS before posting
• Include relevant TAGS
• https://www.sololearn.com/post/75089/?ref=app
• https://code.sololearn.com/WvG0MJq2dQ6y/
+ 1
https://photos.app.goo.gl/xj43GPa2vccDTWi28
Have a look
0
Not able to upload picture