*write a program to input a number whether it is positive or negative using for next looping statement
Answers
Answered by
0
CLS
FOR A =1 TO 10
INPUT X
IF X>0 THEN
PRINT "IT IS POSITIVE"
ELSEIF X<0 THEN
PRINT "IT IS NEGATIVE"
ELSE
PRINT "IT IS ZERO"
NEXT A
END
Similar questions
Environmental Sciences,
6 months ago
Math,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
Math,
1 year ago
CBSE BOARD X,
1 year ago