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

User LastElb
by
5.2k 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
5.3k points