01-17-2006, 04:53 PM
Hey Guys... Im having a problem with the code I coded.. Even If I input a even number it says it is Odd.. Here is what I got so far...
Code:
CLS
'Declarations
DIM number AS INTEGER
'End of Declarations
PRINT "Even or Odd Number"
PRINT
INPUT "Enter a number"; number
IF number / 2= 0 THEN
PRINT "Number is Even"
ELSE
PRINT "Number is Odd"
END IF
img]http://img213.imageshack.us/img213/6104/sig1jb.gif[/img]