Skip to content

Instantly share code, notes, and snippets.

@ga-wolf
Last active September 20, 2015 23:00
Show Gist options
  • Save ga-wolf/37b832abe507aef812a3 to your computer and use it in GitHub Desktop.
Save ga-wolf/37b832abe507aef812a3 to your computer and use it in GitHub Desktop.
Wordy Calculator 2

Wordy Calculator 2

Write some code that takes word problems in the following formats:

What is 5 plus 13?

What is 7 minus 5?

What is -6 multiplied by 4?

What is 25 divided by -5?

and returns the answer as an integer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment