#include <stdio.h>
/* This program could have benefitted from some indenting*/
int main()
/* My program to print domino tiles (for dominos with
0 to 6 spots)
e.g it should print:
0 0
1 0
1 1
2 0
2 1
2 2
.
. All the way up to
.
6 6*/
{
int i= 0;
int j= 0;
while (i < 6) {
j= 0;
while (j < i) {
printf ("%d %d\n",i,j);
j++;
i++;
}
}
return 0;
}


