Answer to Question #282067 in Java | JSP | JSF for candy

Question #282067

5. In the following code, what is the final value of b

int a =0, b;

for (int i = 20; i>0; i=i-5)

{

b=a++;

}

a. 3

b. 4

c. 5

d. 20


1
Expert's answer
2021-12-23T04:10:25-0500
Answer:
a. 3

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