public class Tester {
public static void main(String[] args) {
int[] array = {10, 15, 20, 25, 30, 35, 40, 45, 50, 55};
int result = 0;
int j = 0;
while (j < 10) {
result = array[j];
j++;
}
result += j;
}
}