const number = (n)=>{n%2===0?console.log("The number is even."):console.log("The number is odd.");}
const number = prompt("Enter a number: ");- const number = (n)=>{n%2===0?console.log("The number is even."):console.log("The number is odd.");}
if(number % 2 == 0){console.log("The number is even.");}else{console.log("The number is odd.");}