Computer Science, asked by togarllavarsha, 6 months ago

write an algorithm for how to check whether the given number is positive or negative number ​

Answers

Answered by tanishaaa789
8

HEY MATE HERE IS YOUR ANSWER

1) Num <-- 0.

2)Read Num.

3) Is (Num > 0) Then. Begin. Print “Positive” End. Else if (Num<0) Then. Begin. Print “Negative” End. Else. Begin. Print “Zero” End.

I HOPE YOU WILL UNDERSTAND


tanishaaa789: hey
Similar questions