1
public static boolean have(int x, int count) {
int i;
count = 1;
for (i = 0; i < array.length; i++) {
if (x >= 1) return true;
}
return false;
}
如果结构中至少有给定数量的给定数量,则布尔方法返回true。整数阵列
这样的作品,非常感谢你 – Sara