Update calc.cpp

Again updated the file..