Sunday, April 6, 2014

Assume that the variable named entry has a starting value of 9 and number has a value of 3. What is the value of entry after the following statements are executed?

Question 50 if ((entry > 9) || (entry/number == 3)) entry--; else if (entry == 9) entry++; else entry = 3; Answer: 8

No comments:

Post a Comment