- 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
12 Réponses
+ 2
Thank you
+ 1
Solve this question plzz
+ 1
~ swim ~ https://code.sololearn.com/cYQpdC79WQkE/?ref=app
Ok here is the program code
Plz check this out
+ 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.
+ 1
Now solve using the logic
+ 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
+ 1
Can anyone plz help me out for this particular question.😟😓
+ 1
Posted
Input:TROUBLE
Output:OUBLETRAY