Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

check if number is even or odd c#

int i = 5;
if (i % 2 == 0)
{
	// even
}
else
{
	// odd
}
 
PREVIOUS NEXT
Tagged: #check #number #odd
ADD COMMENT
Topic
Name
3+4 =