0
Q:

how to check if number is even

if ( n % 2 == 0 ) {
	// n is even
}
else {
	//otherwise odd
}
0

New to Communities?

Join the community