if(isleapyear = true)
while(isleapyear=false)
A bit short of
=
signs in these two statements. Also your while loop should not contain the
System.out.println()
statement, otherwise it may claim that 2003 is a leap year.
[edit]
Actually that
while
loop is pointless, even after correcting the
=
to
==
it will not work.
[/edit]