Update calc.cpp

added successfully