+ 4
Why a++ is not working?
4 Respostas
+ 5
I don't know how much this will help you, Yroslav, but let's go. When you do ++a, the value first increases to 401 and then it's attributed to c. Using a++, the value of 400 is attributed to c first and then increased to 401, so c does not get the increment, only a. If you wrote System.out.print(a) instead, both a++ and ++a would give you the same result.
+ 4
Daniel Rosa is right. Miss doing Java challenges with you Daniel.
+ 3
https://code.sololearn.com/c0K15wF6EtlB/?ref=app
There's the solution☺️😉
+ 3
ty