- KUZOKU85
- |
- Noble Legendary Member
"Your eyes are full of hate, forty-one. That's good. Hate keeps a man alive. It gives him strength"
I'm in trouble again,
I've got everything in this project down but for some reason, the code is returning every single year as leap years
public static boolean isLeap (int year)
{
if( (year%400==0)||((year%4==0)&&(year%100!=0)));
{
return true;
}
}
Thats my code, whats the problem?