Tuesday, August 9, 2011

Chapter 4, question 6

6.  To what value does the expression 5 + 3 * 8 / 2 + 2 evaluate?

19

This is because of the precedence of * and / over +

No comments:

Post a Comment