Implement the source code that turns numbers into English text for numbers between -2 billion
and 2 billion.
this is off the ebook im having trouble with this chapter
the algorithm is supposed to look like this
1) Break the number up into chunks of three digits
2) For each three-digit chunk, compute the text; append the magnitude of that chunk; append the
chunks together
3) To compute the text of a three-digit chunk, compute the number of hundreds, and convert that
one-digit number to text, and add “hundreds”, appending the text of the two-digit chunk
4) To compute the text of a two-digit chunk, if it’s less than 20, look it up; if it’s greater than 20,
compute the number of tens, and look up the word, and append the text of the one-digit
number