The given number is odd or even
CLS
INPUT "Enter any number"; N
IF N MOD 2 = 0 THEN
PRINT "The number is even number"
ELSE
PRINT "The number is odd number"
END IF
END
INPUT "Enter any number"; N
IF N MOD 2 = 0 THEN
PRINT "The number is even number"
ELSE
PRINT "The number is odd number"
END IF
END
Comments
Post a Comment