posted 17 years ago
I am getting exception as Array index out of bound:5 at Perocolate.main(Percolate.java:19)
Well i am not getting the drift at all. For loop seems al right to me. The length of array is 5 so the for is incremented 4 times to get the last digit.