Update calc.cpp

again modified
Merge pull request #1 from priya-bendge/branch1

Update calc.cpp