Update calc.cpp

good