//Procedure irisan
void irisan(int A[], int B[],int jum){
int i=1;
cout<<"Array yang beririsan :";
while (i<=jum)
{
int j=1;
while ((A[i] != B[j]) && (j <= jum))
{
j++;
}
if (A[i]==B[j])
{
cout<<" "<
}
i++;
}
}