*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
Chemistry,
5 months ago
English,
5 months ago
Computer Science,
5 months ago
Math,
11 months ago
English,
11 months ago
Math,
1 year ago
CBSE BOARD X,
1 year ago