Hey guys..
I'm writing a program that converts singular nouns to their plural form.
ie.. if the noun ends in "y" remove the "y" and add "ies"
ends in "s", "ch", or "sh" add "es"
and any other case add "s"
So i have my program listed below. I'm trying to remove the last character of the string, analyze it, then determine what action needs to take place. Does anyone have any other opinions on how to tackle this problem or any suggestion on what i've written so far?
Thanks,
dtowndream