MixFor5 second case confusion

Hello, I'm currently trying to learn Java by reading Head First Java. I'm on chapter 5, in MixFor5 exercise.

I've search in this forum and got the explanation for the first case (x = x + 3). However I couldn't find any explanation for the second case (x = x + 6).

I've written it down on paper just as I did with the first case, but I always got (x = 54, y = 10) for an answer, while it's written in the book that the right answer is (x =...

Read More »

By: coderanchbeginnerjava - 5 days ago

Related Posts