我编写了一个程序来确定您的输入是否均匀,但它似乎不起作用。似乎是什么问题?
#include<stdio.h>
int main() {
int x, y;
x = 0;
while (x < 5) {
printf("input a number\n");
scanf("%d", y);
if (y % 2 == 0) printf("your number is an even number\n");
else print("your number is not an even number\n");
x++;
}
return 0;
}