50.8k views
2 votes
Write an expression that evaluates to true if x is non-negative and y is negative?

User LastElb
by
6.9k points

1 Answer

2 votes

Answer:

x >= 0 & y<0

x >= 0 means that x is non-negative

y<0 means that y is negative

User Meisterluk
by
7.2k points