| AdventWolf said: You'd have to check if the number is equally divisible by 2, try an if statement like.. if(n % 2 == 0) I think that ought to work, there are a lot more ways to do it most likely. |
Pretty sure that's the quickest way. Find out if n/2 is an integer (though my mediocre coding knowledge is more in Java and HTML).

Monster Hunter: pissing me off since 2010.







