Write an algorithm and draw a flowchart to find a passative no and negative no
Answers
Answered by
2
def main(n):
if n == 0:
return "zero"
if n > 0:
return "positive"
return "negative"
print(main((n := int(input("n: ")))))
Similar questions
Math,
2 months ago
India Languages,
2 months ago
Computer Science,
2 months ago
Math,
5 months ago
Political Science,
11 months ago