The Parsing function
char *next = buffer, *last;
last = next + strlen(buffer);
if ( sscanf(next, "%s %s", op, numStr) < 2 ||
printf(" *** End of Calculation ***\n\n");
case '+': temp += num; break;
case '-': temp -= num; break;
case '*': temp *= num; break;
case '/': temp /= num; break;
case '%': temp %= num; break;
next += strlen(op) + strlen(numStr) + 2;