+ 1

Pig Latin in C

Beginner here. So I tweaked my code to finally run and all tests pass but 3. It’s locked so I can’t see what to fix. If anything, the input and expected output would be incredibly helpful. Any other help is also greatly appreciated. https://code.sololearn.com/c6wuhvTlhjAx/?ref=app

15th Jul 2022, 10:06 AM
Sennin
4 Answers
+ 1
Your 2d array size is just 10 colomn and rows , it restricting to output for large text. Increse length..
15th Jul 2022, 10:53 AM
Jayakrishna 🇮🇳
Jayakrishna 🇮🇳 - avatar
+ 2
Hi, Sennin ! If you input nothing, it outputs "ay". If you input a space, it outputs "n�5�ay ay". Is this correct?
15th Jul 2022, 10:46 AM
Per Bratthammar
Per Bratthammar - avatar
+ 2
Thanks for the input. It ended up being my array was too small. Thanks Jayakrishna. And Per Bratthammar, im sure it wasnt correct, much of my code didnt feel correct. Thanks as well.
15th Jul 2022, 12:04 PM
Sennin
0
What's up
16th Jul 2022, 8:16 AM
Ujumbe Tembeya
Ujumbe Tembeya - avatar