#include main (void) { int i, j; { for (i=0; i<3; ++i) for (j=0; j<10; ++j) printf("%d %d\n", i, j); } getchar(); }