Computer Science, asked by taniya1539, 1 year ago

Write a program in javascript to check whether entered number is even or odd

Answers

Answered by Imblank
6

Answer:

var number = 265;

if(number%2==0){

console.log("Number is even");

}

else{

console.log("Number is odd");

}

Read my bio once

Similar questions