Odd or Even Answer
STOP
Danger zone, do not proceed unless you gave it your all!
Click me to view the code
js
//odd or even exercise
/*******************************************************
* Below, there are 2 variables. first, write a logical flow to determine if a variable is odd or even
* After, comment out the variables to test your code
*/
// var number = 2341
// var number = 634562
//Hint! ** Use the Modulo
//write code below
if (number % 2 === 0) {
console.log("the number is even");
} else {
console.log("The number is odd");
}