int num,iy,ix;
num = iy = ix = 0;
while(iy < 3) {
while(ix < 3) {
++num;
printf("%d", num);
++ix
}
printf("\n");
++iy;
}