A simple calculator in Ruby
Today I ran (again) into the following question: Write a function that doesn’t use eval that calculates input strings with operators +,-,*,/ eg. “5+5*6+4/2″ should output 37 The first time I ran in…
Just Another Programmer