Computer Science, asked by vinoj9626, 21 hours ago

write an algorithm to check whether given number is positive negative or zero

Answers

Answered by rishav568
2

Answer:

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