Nested Loops and Loop Control
Nested Loops
#include <stdio.h>
int main() {
// Example of nested loops
for (int i = 1; i <= 3; i++) {
for (int j = 1; j <= 3; j++) {
printf("(%d, %d) ", i, j);
}
printf("\n");
}
return 0;
}