C programming simple calculator code