write a program to input a number and find whether it is positive or negative
Answers
Answered by
5
The concept in any programming language for this question is similar .
Using control statements , check whether the value is greater than zero or lesser than zero . Also if the value itself is zero , then it is neither positive nor negative .
Hope you are able to understand the solution
Using control statements , check whether the value is greater than zero or lesser than zero . Also if the value itself is zero , then it is neither positive nor negative .
Hope you are able to understand the solution
Attachments:
Similar questions