Okey, I got this exersice. We are supposed to make a program that asks the user for a year and the program will tell if it is one of those years with an extra day (forgot what it's called). We are supposed to do it with boolea, and theese are the requirements for the year:
code:
(DivideableWith4 && !DivideableWith100) || DivideableWith400
Now, how can I easily get the program to check if it is possible to divide a number with those?