+ 2
why is 'senior' still outputted in this case? I understand that '42' and 'default' outputs because the criteria matches and there is no break, but 'senior' is still false is it not?
3 odpowiedzi
+ 1
Where is the code?
0
lol just copy/past the code
0
oh.... actually this happened because of not using the break
when the case met true it executed all the following commands