三数里显示奇数……求教一下
# include "stdio.h"main()
{
int x,y,z;
printf("input x,y,z:");
scanf("%d,%d,%d",&x,&y,&z);
if(x%2)
printf("%d is odd number!\n",x);
if(y%2)
printf("%d is odd number!\n",y);
if(z%2)
printf("%d is odd number!\n",z);
}
可是结果却不对 比如输入2 3 4 但是什么都没输出 为什么捏 求解求解