while (scanf("%d,%d", &x, &y[i]) != EOF)不能赋值给y中任意元素,为 ...答:输出部分不正确,include<stdio.h>#include<stdlib.h>int main(){int i = 0, x = 0, y[100] = { 0 };while (scanf("%d,%d", &x, &y[i]) != EOF)i++;for (int i1 = 0; i1 < i; i1++)printf("%d", y[i1]);//使用y[i1]printf("\n");return 0;}修改后运行...