Why does my program return the error "ArrayIndex Out Of Bounds Exception: 4"?

usually, we just use < in a for loop and not <=

1 Like