array question 2 updated

tried another code, but sadly still does not work.