Write an algorithm to take a number as input from the user and print if it is
negative or positive
Answers
Answered by
4
Answer:
Num <-- 0.
Read Num.
Is (Num > 0) Then. Begin. Print “Positive” End. Else if (Num<0) Then. Begin. Print “Negative” End. Else. Begin. Print “Zero” End.
Explanation:
HOPE IT HELPS YOU
TAKE CARE
HAVE A NICE DAY
Answered by
6
Similar questions
Computer Science,
1 month ago
English,
1 month ago
Computer Science,
3 months ago
Science,
3 months ago
Computer Science,
9 months ago