user125 wrote:hey thanx for the response i appreciate it!
i can't assign a global / local constant so i don't know if i can use your
Dwuh? What else is there besides global and local constants?
Anywho, you don't need a constant, you need a variable that tracks the size of your array. It can be either global or local, it's up to you.
You should have no problem using the code that I posted earlier, if you take the time to understand it. It looks to me like that's exactly what your teach wants you to do.