Delete comment from: Java67
how about making the code a little shorter?
public static boolean leapyear(int year){
return ( year%400==0 || (year%4==0 && year%100!=0) )
}
Dec 10, 2019, 7:29:21 AM
how about making the code a little shorter?
public static boolean leapyear(int year){
return ( year%400==0 || (year%4==0 && year%100!=0) )
}
Dec 10, 2019, 7:29:21 AM