Write a java program that asks the user for number of letters in a word followed by those letters. Store those letters in an array. Then it calls a method called public static void toNumerals(char[] word) to determine the corresponding number for each letter by using a switch statement and print out the number.
Assume proper input. Only 2-9 should be used.