Update calc.cpp

update by megha
Merge pull request #1 from madhura-zende/br-megha

Update calc.cpp