Answers for "odd or even in c#"

C#
1

odd or even in c#

if(num %2 == 0){
  Console.WriteLine("Number is even")
}else{
  Console.WriteLine("Number is odd")
}
Posted by: Guest on October-29-2020

C# Answers by Framework

Browse Popular Code Answers by Language