I was referring to that part of your post.
Why not keep it all on the forum so everyone can benefit?
Type: Posts; User: Norm
I was referring to that part of your post.
Why not keep it all on the forum so everyone can benefit?
If this is a student assignment you should not be doing the OPs work.
The array you are trying to index has no elements in it. The length is zero. The first element at 0 does not exist.
You need to pass a commandline argument to your program
the program should test...