Update calc.cpp
Merge pull request #1 from SayaliDayama/esdl3975

Update calc.cpp