Update calc.cpp

Updated using branch.
Merge pull request #1 from PoojaMule/Neelakshi

Update calc.cpp. Confirm merge.