Input a number and check whether it is positive , negative or zero
Answers
Answered by
1
Explanation:
this is in python:
a=int(input("enter your no:"))
if(a=0):print("your no equals to zero")
elif(a>0):print("it is positive")
elif(a<0):print("it is negative")
else:print("error")
Similar questions