Search This Blog

Monday, October 14, 2019

9. To Display Positive Negative or Zero

CLS
INPUT "Enter a number";N
IF N > 0 THEN
PRINT "The number is Positive"
ELSEIF N < 0 THEN
PRINT "The number is Negative"
ELSE
PRINT "The number is Zero"
END IF
END

No comments:

Post a Comment