Update calc.c

code.c fixed #2