Update calc.c
Merge pull request #2 from th13f/patch-2

Update calc.c