Life is an adventure, it’s not a package tour
Friday, October 11, 2019
QBasic Programming
To find the positive, negative or zero
CLS
INPUT "Enter any number ";N
IF N >0 THEN
PRINT "The number is positive "
ELSE IF N < 0 THEN
PRINT "The number is negative "
ELSE
PRINT "The number is zero "
END IF
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment