Please , help me to Write a program in a new eclipse project called piglatin that converts a string to its Piglatin equivalent .
the string begins with a vowel, add "way" to the string. For example, Piglatin for "orange" is "orangeway".
2. Otherwise, find the first occurrence of a vowel, move all the characters before the vowel to the end of the word, and add "ay". For example, Piglatin for "story" is "orystay" since the characters "st" occur before the first vowel.
3. If there are no vowels, simply append "ay". For example, Piglatin for "RPM" is "RPMay".
For the purposes of this assignment vowels are
a e i o u y
flory 0 Newbie Poster
Chainsaw 12 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.