Originally Posted by
Norm
Please copy the statement where the error happens and paste it here.
From post#18 (you should read what has been posted)
it is not giving an error at a particular statement. when i click compile it complies normal without any errors. the program then prompts me to enter the values. After i enter the values . the out of bounds comes up.
--------------------Configuration: <Default>--------------------
Enter # of children [<=100]:60
Enter # of words in the sentence:[>0]:4
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 60
at countout.Remain(countout.java:20)
at countout.main(countout.java:11)
Process completed.
but how exactly do i fix the loop if that is the error?