Monday, October 14, 2019

Display positive, negative or zero

                                             WAP to display 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

              5  days and 4 night Educational Tour We travel not to escape life but for life not to escape us . O ur school organized educ...