Why is it that the code
x = x++ seems to never get implemented in the code snippet below. I can even change it to
x = x-- and I get the same answer
6 14
At some point shouldn't the value get increased by 1 or in the reverse get decreased by 1 when running through the loop?
The previous conversations about the problem MixFor5 has been extremely useful and helped me work through the problems and understand what the code was doing
, but I still couldn't figure out the above question. Just for reference below is the link to the other conversations.
https://coderanch.com/t/410474/Beginning-Java/java/head-first-java-mixed-messages#2070028
Thanks to anyone that could answer my question.