#include<stdio.h>
main()
{
int x,y,z;
z=x*y;
10<x<20,y<10;
x=rand()%20;
y=rand()%10;
printf("%2d",x);
printf("%2d",y);
printf("enter value of z");
scanf("%d",z);
if(z=x*y)
{
printf("correct");
}
else
printf("wrong no. entered");
}
我收到了分段错误错误,请帮助。