Answer:
19
Step-by-step explanation:
Without break; statements, the switch "falls through" to the next case. So the code is directed to case 3, which sets total to 10. Then another 3 gets added and another 6, because cases 4 and 8 are also executed. That brings the total to 19.
So, always use a compile rule or code checker that checks your code for missing breaks, because it is hardly ever what you want on purpose.