update DiyCalculator.cpp