Can someone help me with my Java homework?
Love the site BTW, gonna post here for quite a long time. :)
The task is:
Write an application that will accept an intreger from the user that represents a year. Use the MODULUS operator ( % ) to determine if the year is divisible by 4. Print an appropriate message and how many years to the next leap year.
Use a while loop to repeat until the user enters a year of 99.
Reject non-integer input.
I use Crimson Editor, This homework is driving me nuts, i am so confused >.<.