Update calc.cpp

done!!!!