I have program in c++ that prompt user to enter 3 words in english then translate them into piglatian words ,depend on vowel letter ,i finish the program but i have a problem since y as a first letter considered constant but if it is inside the word it is vowel . The program translate a word like Amn to Amnway append way to the end of word if it is first letter is vowel but if the word begin with constant ,then we search for the vowel to append ay to the end an rotate from the first vowel .I did that but couldn't find way to letter y
Comments
Leave a comment