Update calculator.cpp

updated file