To check the given number is odd or even using SELECT CASE.
- CLS
INPUT "Enter a number"; n
r = n MOD 2
SELECT CASE r
CASE 0
PRINT "It is even number"
CASE 1
PRINT "It is odd number"
END SELECT
END