Update calc.cpp

added addition part
Merge pull request #1 from Priyanka-Mishra/prabha

Update calc.cpp