isLeapYear help needed
I'm a student in a college intro java class and I'm trying to send a variable into the isLeapYear method to determine if its a leap year
I want to use a while loop to determine if a given year is a leap year, and if it isnt, to ask for another year until it gets a leap year
I'm getting 'unexpected type' in the following:
while(cal.isLeapYear(year) = false)
Expected: variable
found: value
cal is a new GregorianCalendar i've created in main andyear is the variable I want to send into the isLeapYear method
is there any way to do this?

