Update calc.cpp

updated...using branch
Merge pull request #1 from apeksha-mansi/br-mansi

Update calc.cpp