pgm to evaluate arith expression using switch case