Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

odd or even in c#

if(num %2 == 0){
  Console.WriteLine("Number is even")
}else{
  Console.WriteLine("Number is odd")
}
Source by csharp-station.com #
 
PREVIOUS NEXT
Tagged: #odd
ADD COMMENT
Topic
Name
7+5 =