12. Debug the following program.
REM TO PRINT WHETHER THE NUMBER IS “Positive” or “Negative” or “Zero”
CLS
INPUT “ENTER A NUMBER”: N
IF A >0 THEN
PRINT “Negative” ELSEIF A<0 THEN
PRINT “Positive”
ELSE
PRINT “Zero”
ENDIF
END
Answers
Answered by
0
Answer:
it is holy calculator ok ok ok ok ok ok
Answered by
2
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
Similar questions