+ 2

Help,me in debugging this program....

My program is showing some error, some error which I can't fix.. Here is my code -- https://code.sololearn.com/cIVcTo7Rr85x/?ref=app Please help me. Tell me whats wrong and how to correct it..

8th Nov 2020, 5:27 AM
Krish
Krish - avatar
8 ответов
+ 2
https://code.sololearn.com/c9dyVtqnA9hD/?ref=app Krish it is only work for a single word not for sentence. if you want to convert every word in sentence into piglatin form then step1: split input by space and store it in string array step2: pass each array word into your word()method step3: store in in another string array step4: print them.
8th Nov 2020, 9:44 AM
NavyaSri
NavyaSri - avatar
+ 3
Krish you are welcome. HAPPY LEARNING 😊
8th Nov 2020, 2:14 PM
NavyaSri
NavyaSri - avatar
+ 2
Krish that mean if input is : navya sri Output : avyanay risay Is it right...?
8th Nov 2020, 7:25 AM
NavyaSri
NavyaSri - avatar
+ 2
Krish in your program integer variable 'g' and character variable 'v' there is no use of them.
8th Nov 2020, 9:55 AM
NavyaSri
NavyaSri - avatar
+ 1
What is your expected output tell me..?
8th Nov 2020, 6:42 AM
NavyaSri
NavyaSri - avatar
+ 1
Thanku NAVYA
8th Nov 2020, 2:04 PM
Krish
Krish - avatar
0
I want to covert every word of a sentence into its piglatin form.
8th Nov 2020, 7:20 AM
Krish
Krish - avatar
0
Yes that's right..
8th Nov 2020, 7:26 AM
Krish
Krish - avatar