+ 1

Has anyone solved the Pig Latin Challenge?

I was just going through the challenges and I came to this one. I solved it for all but one test case, but I have no idea what's making it fail. https://code.sololearn.com/c6CLKXlRvr3Y

15th Mar 2020, 3:03 PM
Justin Wells
Justin Wells - avatar
4 Antworten
+ 1
🤔 figured it was necessary. Making the change suggested fixed it. Thanks guys!
15th Mar 2020, 3:16 PM
Justin Wells
Justin Wells - avatar
+ 1
The else in line 23 is wrong.
15th Mar 2020, 3:19 PM
Paul
Paul - avatar
+ 1
Paul Jacobs I hadn't fixed it in that code. I did it in the one for the challenge. I did now though.
15th Mar 2020, 3:21 PM
Justin Wells
Justin Wells - avatar
0
Seems fine. Try by removing if part. Put Console.Write("ay "); only.. //else part
15th Mar 2020, 3:13 PM
Jayakrishna 🇮🇳