Your almost there you just got an extra scanf you don't need.
remove the first one
and move the second scanf to where the first scanf was, also change the second %d to %c, You should end up with
Now it should definatley work
printf("Type the operator +,-,/,* and your prob in this format 5+5\n");
case '+': printf("Answer = %d\n",x+y);
default : printf(" please try that again\n ");