Life is an adventure, it’s not a package tour
Friday, October 11, 2019
QBasic Programming
To display odd or even
CLS
INPUT" Enter any number ";N
IF N MOD 2=0 THEN
PRINT "The number is even"
ELSE
PRINT "The number of odd"
END IF
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment