Tuesday, 22 October 2019

Display odd or even

CLS
INPUT"Enter any number";N
IN N MOD 2 = 0 THEN
PRINT"The number is odd"
ELSE
PRINT"The number is zero"
ENDIF
END

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home