Help with coding a (simple) array

It would make it easier to help you if you posted your code