Next: The if statement
Up: Conditions
Previous: Multiple Choice Questions
x
and y
was equal to the value of a variable z
.a
is 5, b
is 10, c
is 15 and d
is 0 what
are the truth values of the expressions?c == a+b a != 7 b <= a a > 5 a+d >= c-b d/a < c*b
a
is 5, b
is 10, c
is 15 and d
is 0 what
are the truth values of the expressions?c == a+b || c == d a != 7 && c >= 6 || a+c <= 20 !(b <= 12) && a % 2 == 0 !(a >5) || c < a+b
float
variable x
lies between -10.0 and 10.0.