Answers for "how to check if number is even"

0

how to check if number is even

if ( n % 2 == 0 ) {
	// n is even
}
else {
	//otherwise odd
}
Posted by: Guest on June-17-2020

Code answers related to "how to check if number is even"

Browse Popular Code Answers by Language