0
You have array index out of bounds exception.. Instead i=1 to i<=c use i=0 to i<c in both loops..
For piglatin what is the need to check 'aeiou'?
I think you can remove inner loop and 1st if condition... Check is not it?
0
Md Sahil
For string tokenizer you never using index. Infact you never need.
And error when you start from 1 to c, like in ex:
for(i=1;i<=c;i++){
System.out.print(A[i]);
here A[] array max index is c-1 so using c also for A[c] will raise error. So start from i=0 to i<c only..
Oh. This is not piglatin of Code coach, it may be other one.. It working with changes I mentioned but only add a space in
"ay " and actually first convert input to uppercase..



