Computer Science, asked by nunuiimoonrider131, 1 year ago

write an algorithm and draw a flowchart to enter a number and check whether it is positive or negative​

Answers

Answered by shivamsingh54
22

your answer is in the picture .

I hope it will help you ...

Attachments:
Answered by adventureisland
11

Obtain an integer value. Check whether the number is greater than or equal to 0. Print Positive or Negative if the provided number is larger or lesser than zero.

Algorithm for checking whether it is positive or negative​ :

Step 1: Start.

Step 2: Obtain an integer.

Step 3: Determine whether the number is greater than or equal to 0.

Step 4: Print Positive if the supplied value is higher than or equal to 0.

Step 5: Print Negative if the supplied number is less than zero.

Step 6: Stop.

Attachments:
Similar questions