Input a sentence in java. Extract each word and convert it into piglatin word and print all piglatin words. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Input a sentence in java. Extract each word and convert it into piglatin word and print all piglatin words.

Plz help me in getting the execution. https://code.sololearn.com/cYQpdC79WQkE/?ref=app

26th Jun 2020, 12:00 PM
Sheetal
Sheetal - avatar
8 Answers
+ 2
Thank you
26th Jun 2020, 5:58 PM
Sheetal
Sheetal - avatar
+ 1
Solve this question plzz
26th Jun 2020, 12:01 PM
Sheetal
Sheetal - avatar
+ 1
~ swim ~ https://code.sololearn.com/cYQpdC79WQkE/?ref=app Ok here is the program code Plz check this out
26th Jun 2020, 12:14 PM
Sheetal
Sheetal - avatar
+ 1
~ swim ~ I totally agree with you but the logic for piglatin is not that one which u have mentioned. The logic is take a word and print the part of the word from the first occurence of vowel till the end and then printing its part from beginning till before first vowel and then joining "AY" to it at the end to form a PIGLATIN WORD Example: if the word input is:TROUBLE the output will be:OUBLETRAY these types of words after converting into PIG-LATIN are to be printed from the sentence.
26th Jun 2020, 2:47 PM
Sheetal
Sheetal - avatar
+ 1
Now solve using the logic
26th Jun 2020, 3:04 PM
Sheetal
Sheetal - avatar
+ 1
I am not asking you to solve the problem i am only asking to help me with my program by detecting the errors and to suggest me
26th Jun 2020, 4:34 PM
Sheetal
Sheetal - avatar
+ 1
Can anyone plz help me out for this particular question.😟😓
26th Jun 2020, 4:37 PM
Sheetal
Sheetal - avatar
+ 1
Posted Input:TROUBLE Output:OUBLETRAY
26th Jun 2020, 4:48 PM
Sheetal
Sheetal - avatar