Java Program to find leap year.year should be 4 digit.year should not be negative number | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 2

Java Program to find leap year.year should be 4 digit.year should not be negative number

All condition should be there

11th Aug 2019, 3:55 PM
Dhiraj singhāœ”ļø
Dhiraj singhāœ”ļø - avatar
5 Respostas
+ 8
Plz show us your attempt. If you have any doubts in that we can help you out.
11th Aug 2019, 5:42 PM
Rstar
Rstar - avatar
+ 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.
11th Aug 2019, 9:33 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 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/
11th Aug 2019, 10:09 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 1
https://photos.app.goo.gl/xj43GPa2vccDTWi28 Have a look
11th Aug 2019, 7:12 PM
Dhiraj singhāœ”ļø
Dhiraj singhāœ”ļø - avatar
0
Not able to upload picture
11th Aug 2019, 7:11 PM
Dhiraj singhāœ”ļø
Dhiraj singhāœ”ļø - avatar