Algorithm of program to check whether a number is negative, positive or zero
Answers
Answered by
1
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
Political Science,
30 days ago
Math,
30 days ago
Computer Science,
30 days ago
Math,
2 months ago
Science,
9 months ago