write an algorithm to check whether a number is positive
Answers
Answered by
1
Answer:
Algorithm To Find Whether A Number Is Positive Or Negative is given below:
Input a number from the user.
If number is less than zero, then it is a negative integer.
Else if number is greater than zero, then it is a positive integer.
Else, the number is equal to zero.
End.
Similar questions