0
What's the result if you don't use break in switch case?
2 Respuestas
+ 2
give it a try in the playground :)
+ 3
Every case that follows the fitting one, will be executed as well.
Not because it is a good technique but just to check it out, I have written a scrabble value calculator relying merely on this 'fall-through'. :)
Step by step the missing points for a letter's value are added.
https://code.sololearn.com/cL5go65DG52m/?ref=app