Computer Science, asked by Anonymous, 1 day ago

Write an algoritm to check whether a number is positive or negative

Answers

Answered by babyjai
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