WAP to display the given number is 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
Comments
Post a Comment