I have a problems with converting strings to number,
for example,
one thousand nine hundred eighty three -->> 1983
I have thought for a long long time, but couldn't think of how to do the coversion.
At the begining, I want to assign each number, i.e. one, two, three...ten, an array like a1[] = "one", a2[] = "two"......
that more than 10 arrays will be needed. The main problem is that I can't extract "one" in the string of words to compare. I really get stuck now, please help me. thx!!