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) and y is negative.
LANGUAGE: Visual Basic
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) and y is negative.
SOLUTION:
(x >= 0) And (y < 0)