Update calc.cpp

updated in branch
Merge pull request #1 from priyanka3408/apurva

Update calc.cpp
merge