Test for even Number

64

Test for even Number -

if(num%2 == 0){
  Console.WriteLine("Number is even")
}else{
  Console.WriteLine("Number is odd")
}

Comments

Submit
0 Comments