I am struggling with java increments/decrements. Anyone any advice or resources i could use? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I am struggling with java increments/decrements. Anyone any advice or resources i could use?

4th May 2017, 9:58 PM
Joe Brennan
Joe Brennan - avatar
7 Answers
+ 7
5th May 2017, 12:09 AM
Rrestoring faith
Rrestoring faith - avatar
+ 6
https://code.sololearn.com/W7X805sc4DPC/?ref=app that's a frequently asked question 😉 hope that helps. if not, say so.
4th May 2017, 10:14 PM
Mario L.
Mario L. - avatar
+ 5
what exactly is it you're struggling with? is there something you don't understand about in-/decrement? please specify your question.
4th May 2017, 10:02 PM
Mario L.
Mario L. - avatar
+ 5
just try different loops with increment/decrement. use them to count something and see the differences in output.
5th May 2017, 2:10 PM
Mario L.
Mario L. - avatar
+ 3
yes. when the -- or ++ is on either side of the number. its very confusing
4th May 2017, 10:04 PM
Joe Brennan
Joe Brennan - avatar
+ 3
thank you thats great!!
4th May 2017, 10:19 PM
Joe Brennan
Joe Brennan - avatar
0
Thanks to you all. Found these very informative. I am looking to practice increments/decrements now. Any of you have any links to resources for increment/decrement exercises i can do?
5th May 2017, 1:54 PM
Joe Brennan
Joe Brennan - avatar