[Solved] Unexpected behavior of a switch statement in a for loop [closed]


condition should be incrementing by 10:
for (int x = 10; x <= 20; x=x+10)

solved Unexpected behavior of a switch statement in a for loop [closed]