Update calc.cpp

modified again!!!!!!!