so the code works but some years which should be leap years are not like 2008 is showing its not a leap year which it was.
//is leap year if...
if ((whichYear % 4 == 0) && (whichYear % 100 == 0) && (whichYear % 400 == 0))
{
isLeapYear = true;
daysLeftInYear = 366;
System.out.println("true " + daysLeftInYear);
}
else
{
isLeapYear = false;
daysLeftInYear = 365;
System.out.println("false " + daysLeftInYear);
}