c语言如何判读一个数组里的数是否存在相等的答:include <stdio.h>int hasEqual(int a[],int n) {int i,j;for(i = 0; i < n - 1; ++i) {for(j = i + 1; j < n; ++j)if(a[i] == a[j]) return 1;}return 0;}int main() {int a[] = {36,45,12,35,26,98,54,21,36,58};int n = sizeof(a)/sizeof(...