Coded calc.rb