Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Tell Whether a Number is Even or OddContent of Tell Whether a Number is Even or Odd.vbsMD5 Hash: 7E7122C1A084EF28D221BFCBF8668ADE |
||
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 :: |