/* ugnjezdjene petlje */
#include <stdio.h>

#define MAX 3
/* int MAX = 3; */

int main() {
  int i, j;
  for (i = 0; i < MAX; i++)
	for (j = 0; j < MAX; j++) 
	  printf("i = %d,  j = %d\n", i, j);
  return 0;
}