0
I am stuck how to Print 15 next leap years and return it using array in java ??
8 Respostas
+ 2
just write n++ inside if statement
increment only if year % 4 == 0
+ 1
Thank You so much its done
+ 1
Sorry Praveen Kumar I was unable to help you
0
Just change 15 to 57
0
No but i want to print like 2000 2004 2008 continuous
0
No bro output i want is :- 2000 2004 2008 2012 ...till 15 continous leap years ...no 0 In between
0
No bro no problem