float op1,op2, secondnum,result;
printf("Please type the expression to be calculated:");
scanf("%f %c %f", &op1,&optr,&op2);
result = op1 + op2; break;
result = op1 - op2; break;
result = op1 * op2; break;
result = op1 / op2; break;
printf("\Sorry, %c is not a valid arithmetic operator",optr);
printf("\nThe result is %3.2f",result);