class SchleifenTesten1{ public static void main (String[]args) { int testArr2[] = {3,-6,-2,8,5}; for (int i=0;i<5;i++) testArr2[i] = (i+1) * testArr2[i]; System.out.println(testArr2); }}