Computer Science, asked by abayoflorence7, 5 months ago

Write an algorithm which asks the user for two numbers and information if their product is negative or positive

Answers

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

x, y = [int(n) for n in input("enter x y: ").split()]

print("product positive") if x * y > 0 else print("product negative")

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions