public class Tester {
public static void main(String[] args) {
int result = 0;
int array[] = {1, -2, -3, 4, -5, 6, 7, 8, -9, 10, -11};
int i;
for(i = 0; i < 3; i++)
if(array[i] > 0)
result = array[i];
result = result + array[i];
}
}