Sun Apr 03, 2011 9:28 pm
<%
function checkEvenOdd(ByVal intValue)
If (intValue MOD 2 = 0 ) Then
Response.Write ("The number is <b>even</b><br>")
Else
Response.Write ("The number is <b>odd</b><br>")
End If
end function
%>
<%
checkEvenOdd(2)
%>
The number is even .
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.