Update calc.c

code.c fixed