#include<stdio.h>
void main()
{
int x,y;
for (x = 1; x<=2; x++)
for (y=1; y<=4; y++ )
printf("x = %d,y = %d \n",x,y ); /*输出每次循环的x、y值*/
}