Question

Question 21 If x = 10 and y = 20, which expression is True? x==y y!-2*x y >= x y<= x U Question 22 What is xs final value? X
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q21

Answer: Y>=X

Explanation:

as we can see that value of y is greater than the value of x

Q22

Answer: 15

Explanation:

A dry run of code

  x=10;
  y=20;
   if(y<=2*x) ==> if(20 <= 20) (TRUE)
   {
   x=x+5; = 10+5 = 15
   }
  

Add a comment
Know the answer?
Add Answer to:
Question 21 If x = 10 and y = 20, which expression is True? x==y y!-2*x...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT