int WB(int a[], int n, int x) {


for(int i=0;i<n;i++)


if(a[i]==x) return 1;


return 0;


}
出自:国家开放大学C语言程序设计