I have to write a program for my programming final, and I have a really good idea, I just can't figure out where to start (code wise).
the idea is to be able to type in a word problem (math), and the program would filter the input text and come up with a simple calculation, for example...
Jimmy has 3 apples, Billy took 2 apples away, how many apples does jimmy have?
The program would then filter it to
Jimmy has (3) apples, Billy took(-) (2) apples away, how many apples does jimmy have?(=)
and from the text, it would determine 3-2=
And then it would calculate it and come up with the answer.
I don't want full codes, but what are some ideas to make this work?
And if possible, some ideas for keywords that could be used for this like Bought, Found = +, Lost, dropped = -, Etc
2007-01-11
12:53:48
·
4 answers
·
asked by
Ulver
2