求助!!高手帮我看看错误
# include <stdio.h>int main()
{
int stepNo,x,y,fx,fy,stepx,stepy;
printf("please enter your initial location x and y:");
scanf(" %d%d",&x,&y);
printf("Please enter your final location stepfx and stepfy:");
scanf(" %d%d",&fx,&fy);
while(x<=fx&&y<=fy)
{
if(stepNo%3==0)
stepx+1,stepy+1;
printf("x=%d y=%d\n",x,y);
x=x+1;
y=y+1;
}
getch();
return 0;
}
题目的意思是说在输出之后显示每三步变化一次步长