This is a little bit vague, and it seems a lot like a homework assignment. Think the problem through (plan out each step) and figure out which parts are giving you difficulty. If you ask a specific question, we would be glad to help....
Open your textbook and refer to the section which deals with arrays. Make sure you go back to the beginning of arrays when they are first introduced. Then read slowly, and make sure you understand every detail as you come to it.
If there is a specific detail you come across which confuses you, then feel free to post here about that and I'm sure many of us would be glad...
Leave a comment: