That is how you use a switch but what you have there isn't going to do anything useful for you.
mf_arian wrote:
iwant a program that i give numbers and expression(+ - * / ) and the program give a result.
Did you bother reading the previous answer that I gave you?