You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<%
|
|
function OddOrEven(ByVal intNumber)
|
|
If (intNumber MOD 2 = 0 ) Then
|
|
Response.Write ("Your number is even<br>")
|
|
Else
|
|
Response.Write ("Your number is odd<br>")
|
|
End If
|
|
end function
|
|
%>
|
|
|
|
Now we will test this function
|
|
|
|
<%
|
|
OddOrEven(2)
|
|
OddOrEven(97)
|
|
%> |