![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Tell Whether a Number is Even or Odd
|
||
|
a = 13
intResult = a Mod 2 If intResult = 0 Then Wscript.Echo "This is an even number." ElseIf intResult = 1 Then Wscript.Echo "This is an odd number." Else Wscript.Echo "This does not appear to be a whole number." End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: | ||