Life is a way too short to spend the another day
Home
Search This Blog
Monday, October 14, 2019
10. To Display Odd or Even
CLS
INPUT "Enter a number: ", N
IF N MOD 2 = 0 THEN
PRINT "The number is EVEN."
ELSE
PRINT "The number is ODD."
END IF
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment