Update calc.cpp

Updated by aditi
Merge pull request #1 from vaiadu/br-aditi

Update calc.cpp