I got a problem with my textbook under the for-loop chapter. It’s saying something like this:
Write a loop that sets newscores to oldscores shifte...
For further actions, you may consider blocking this person and/or reporting abuse
As far as I can tell, the problem is that some numbers should be set to old score from newscore.
After it has relocated, o must be substituted for the initial value by moving it to the end.
In my programme, I first printed the oldScores, then sorted the values in the next for-loop, and then printed the newScores in the next for-loop. See the code here kodlogs.net/18/write-loop-that-set...