Program showing if a year its leap year or not.
I need to make a program that can shows if it a year is leap year or not, I couldn't understand exactly what my teacher said because of his accent but I think he said this:
"If the Input is four digits number integer tell if its leap year or not."
This is the only Programming class i have to take and Is part of my course, I'm studying electronics engineering but my Teacher can't speak English well.
Where can I see code examples like this one or if you can post the code i can read throught it and analize it. This won't be graded is just practice.