04-16-2011, 11:49 PM
(04-16-2011, 11:40 PM)Infinity Wrote: The method for coding my translator was pretty much very similar to yours, where I had defined a string array for each letter (Vowels) as a,e,i,o,u, and added y. Then made the rules for appending and removing certain letters in a loop that scans all words in the input
Nice. Yeah I guess I didn't think about non-vowel words. I actually never knew one existed in the English language until you posted that one. But to add that functionality in I guess wouldn't be hard. If the word doesn't contain a vowel, put the first letter on the end and append 'ay". Seems logical! This challenge made me think a little bit.
I code at http://tech.reboot.pro