WAP to print input word in piglatin form (assume that the word is entered in capital letter)
Input:
KING
TROUBLE
Output:
KING= INGKAY
TROUBLE= OUBLETRAY
Explanation: the first vowel of the original word becomes the start of the translation, proceeding letters being shifted towards the end and followed by AY.
Published By : Sunita Chhetry