Update calc.cpp

call to method.
Merge pull request #1 from krutika-ostwal/priyanka

Update calc.cpp