Compound Boolean Expression Logic
Assume a, b, and c are integer variables. Which of the following conditions guarantees that the boolean expression (a > b && c >= a) || (b < 0 && a <= c) evaluates to true?
A
a > b and b < 0 and c >= a
B
c >= a and a <= c
C
a > b and b < 0
D
a > 0 and c >= a
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | lsj08030922 | 2 | 2 | 0m 00s | 200 |
| #2 | hiboyshello | 2 | 2 | 0m 00s | 200 |
| #3 | angelajxi11 | 1 | 1 | 0m 00s | 100 |
| #4 | 24uit074 | 1 | 1 | 0m 36s | 64 |
| #5 | mattaana000 | 1 | 1 | 2m 37s | -57 |
Items per page:
10
1 – 5 of 5
