In Switch case as the name suggests, you have to implement all the cases and separate each one with break statement, so to print "no 1" you have to have a case for it. This is the programming task that is implemented in optimization way, for example every line after "return". At the end the compiler has to compile everything, maybe we have "go to" statement :)