IBM interview question

1. OS thread/process question 2. Given a word string to represent the dollar amount on a cheque, return the numerical value of the string. For example, "sixty-nine thousand four hundred and twenty dollars"