Write a program that encodes a word into Piglatin. To translate a word into a Piglatin word, convert the word into uppercase and then place the first vowel of the original word as the start of the new word along with the remaining alphabets. The alphabets present before the vowel being shifted towards the end followed by “AY”.
Sample Input (1) : London, Sample Output (1) : ONDONLAY
Sample Input (2) : Olympics, Sample Output (2) : OLYMPICSAY
**************************************************
You can follow us here,
Twitter :- / alokmaurya95
Instagram :- / alokmaurya95
Facebook :- / alokmauryaofficial
Check out our website :- www.amplifylearning.co.in
Email us at :- [email protected]
****************************************************
Join our youtube family, lets grow together!
Subscribe to Amplify Learning
/ amplifylearning
#AmplifyLearning #Computer