Computer Science, asked by rakibkhan1386, 11 months ago

Algorithm to check whether a number is positive negative or zero

Answers

Answered by teachsuraj
0

Answer:

Algorithm. Step 1: input number

Step 2: check number is greater than equal to 0 or not. If true then positive otherwise negative and if it 0 then number is 0.

Step 3: if number is divisible by 2 then it's even otherwise its odd.

Similar questions