public class Pr1 start class public static void main String args start

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
public class Pr1{//start class
public static void main(String[] args){//start method
int a[]={3,5,6,23,44,809,0,33};
int b[]={11,32,44,23,576,1000};
for(int i=0; i<a.length; i++) {//start for 1
for(int j=0; j<b.length; j++) {//start for 2
if(a[i]==b[j]) {//start if
System.out.println("found in index "+a[i]);
System.out.println("vo vtorom masive naxoditsya pod indeksom "+j);
continue;
}//end if
}//end for 1
}//end for 2
}//end method
}//end class