Prueba para un número par
if(num%2 == 0){
Console.WriteLine("Number is even")
}else{
Console.WriteLine("Number is odd")
}
Gravity
if(num%2 == 0){
Console.WriteLine("Number is even")
}else{
Console.WriteLine("Number is odd")
}