Saved Bookmarks
| 1. |
X-=--x+ ++x - --x*2 if x = 6 |
|
Answer» ONG>Explanation: x = 3; x = ++x + (++x); ++x WOULD increase ‘x’ by ONE and use this value. If you add 1 to the current value of x, which is 3, then you have 4. x = 4 + (++x); ++x would increase ‘x’ by one again and use (again) this value. If you add 1 to the current value of x, which is 4, then you have 5. x = 4 + (5); Sum the remainders, and the SOLUTION of your question would be: x = 9. |
|