function evenOrOdd(){

   var number = prompt("Enter a number of your choice");
   if(number % 2 === 0){
       return alert("It is an Even Number");
   }
   else{
       return alert("It is an Odd Number");
   }
}
// Control Flow => If Else conditions
Control Flow => If Else conditions
Control Flow = > If Else conditions
function evenOrOdd(){
   var number = prompt("Enter a number of your choice");
   if(number % 2 === 0){
       return alert("It is an Even Number");
   }
   else{
       return alert("It is an Odd Number");
   }
}
function evenOrOdd ( ) { var number = prompt ( "Enter a number of your choice" ) ; if ( number % 2 === 0 ) { return alert ( "It is an Even Number" ) ; } else { return alert ( "It is an Odd Number" ) ; } }
Control Flow => If Else conditions
Control Flow = > If Else conditions