public class Pr2 public static void main String args int 34 12 31 90 1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
public class Pr2{
public static void main(String[] args){
int a[][]={34,4,5,0,12,31,2},{3,4,9},{9},{5,4,90},{124,231,28,88};
for(int i=0; i<a.length; i++) {
for(int j=0; j<a.length; j++) {
if(a[i][j]<7) {
System.out.println("yslovie istinno element pod indeksom "+a[i][j]);
}
}
}
}
}