English Calculator

Write a function that performs a basic math operation expressed in words, and return the result in words. For example... "two plus two" would return "two plus two is four" "two minus one" would return "two minus one is one"

You should at minimum support the numbers zero to twenty and the operators plus, minus and times.

Bonus

Feel free to add more operators and support any amount of numbers.

results matching ""

    No results matching ""