int[] zArray ={ 1, 2, 3, 4, 5 }; int total = 0; for(int count = 0; count