lost_and_confused:
and j = 1, if there is no break after each of the blah things, why/how would blah 2 and 3 be executed?
The switch statement says "Go to this point if j is 1, this point if j is 2, or this point if j is 3." Once there, it will keep executing code, going down, until it either hits the } or a break -- the "break" sends it to the }.
I can understand (not really) that break; stops the program continuing to look for cases where it matches
and so "saves time", but is there more to this than I am seeing?
The break just says "skip over the rest"