"we should not just read books, we should learn to climb inside them and live there"
Total Pageviews
Friday, October 18, 2019
10.
QBASIC to diplay Odd or Even
CLS
INPUT "Enter any 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