minor calc.c modifcations: numOperations global, third scanf reads up to nine chars