Answer to Question #178728 in C++ for paul

Question #178728

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
Expert's answer
2021-04-08T23:55:41-0400

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


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS