On 6/15/07, Ruby Quiz <james / grayproductions.net> wrote:
>
> This week's quiz is to build a program that reads in equations and outputs
> solutions. You can decide how complex of an equation you want to support, with
> the examples above being the minimum implementation.
>
Here's my solution: http://pastie.caboo.se/72030
It's a brute-force search, but has reasonable speed. +, -, and *
operators are supported.