Update calc.cpp

updated file