Given that the variables x and y have already been declared and assigned values, write an expression that evaluates to true if x is positive (including zero) or y is negative.

LANGUAGE: JAVA

CHALLENGE:

Given that the variables x and y have already been declared and assigned values, write an expression that evaluates to true if x is positive (including zero) or y is negative.

SOLUTION:


(x>=0 || y<0)