float x = 4.3, y = 9.2;
bool a = false;
1. ((x < 5) && (y < 10))
2. !((x < 5) && (y < 10))
3. ( !(x < 5) || !(y < 10))
4. (x >= 5) || (y >= 10))
5. !((x >= 5) || (y >= 10))
6. ( !(x >= 5) && !(y >= 10))
7. ((x < 5) && (y > 10))
8. ((x < 5) || !(y < 10))
9. !((x >= 5) && (y != 10))
10. !a && !(y >= 10))
EXP CURRENT VALUE OF x
1. x = 36; __________________
2. x += 13; __________________
3. x = x - 23; __________________
4. x -= 32; __________________
5. x++; __________________
6. x -= 2; __________________
7. x--; __________________
8. x = x + 6; __________________
9. x += 17; __________________
10. x -= 4; __________________
1) true
2) false
3) false
4) false
5) true
6) true
7) false
8) true
9) true
10) true
1) x=36
2) x=49
3) x=26
4) x=-6
5) x=-5
6) x=-7
7) x=-8
8) x=-2
9) x=15
10) x=11
Comments
Leave a comment