Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java check if number is even

if (number % 2 == 0) {
  // even number
} else {
  // odd number
}
 
PREVIOUS NEXT
Tagged: #java #check #number
ADD COMMENT
Topic
Name
1+1 =