Computer Science, asked by bellafangirl31, 11 months ago

Write an algorithm to check if a given number is positive or negative​

Answers

Answered by myselfThakur
4

Explanation:

STEP 1. Num <-- 0

STEP 2. Read Num

STEP 3. Is (Num > 0) Then

Begin

Print “Positive”

End

Else if (Num<0) Then

Begin

Print “Negative”

End

Else

Begin

Print “Zero”

End

Similar questions