Update calc.cpp

added