Wrong Answer for Arraysum

Though my code is working in IDE it is not working for the question, can you see what’s wrong I have done.

1 mistake corrected