Thanks pengate

How do I find the upper bound of the array?