# include & ltstdio.h & gt
int main()
{
int b[10]={1,5,7,28,9,10,33,41,39,11 };
int a[10]={5,2,7,39,27,12,44,21,28,1 };
int i,j;
for(I = 0;我& lt10;i++)
{
for(j = 0;j & lt10;j++)
{
if(a[i]==b[j])破;
}
if(j & lt;10)
{
printf("%d ",a[I]);
}
}
返回0;
}
是這樣嗎?