The intName method in the "Problem Solving: Stepwise Refinement" section accepted arguments <1,000.
Using a recursive call, extend its range to 999,999. For example, an input of 12,345 should return "twelve thousand three hundred forty five".
Note that some number names may have an extra space at the beginning and/or end.
import java.util.Scanner;
public class IntegerName {
// Turns a number into its English name.
// @param number a positive integer <999,999
// @return the name of the number (e.g. "two hundred seventy four")
}