Answers for "c# is odd number"

C#
0

c# is odd number

// using modulo operator %
if(num%2 == 0){
  Console.WriteLine("Number is even")
}else{
  Console.WriteLine("Number is odd")
}
Posted by: Guest on June-27-2021

C# Answers by Framework

Browse Popular Code Answers by Language