// source code
#include <stdio.h>
void main()
{
int i, j, k, c;
for (i = 0; i < 8; i++) {
printf("i = %d\n", i);
for (j = 0; j < 8; j++) {
printf("\tj = %d\n", j);
for (k = 0; k < 8; k++) {
printf("\t\tk = %d\n", k);
c++;
}
}
}
printf("count = %d\n", c); // 512 = 8 * 8 * 8
}