Remainders Challenge

image

image

1 Like

An alternative that would consume fewer lines of could would be

player = (playerDeterminer %4)++;

As effectively you switch statement is adding one to the value of playerDeterminer.

Thank you for the suggestion :slight_smile:

Keep up the good work @bb1223344!

Privacy & Terms