#include #define N_ROWS 6 #define N_COLS 12 char flag[N_ROWS][N_COLS] = { {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.'}, {'.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'} }; int main(void) { int row = 0; int col = 0; loop_row_cond: if (row >= N_ROWS) {goto loop_row_end;} loop_row_body: col = 0; loop_col_cond: if (col >= N_COLS) {goto loop_col_end;} loop_col_body: printf("%c", flag[row][col]); col++; goto loop_col_cond; loop_col_end: printf("\n"); row++; goto loop_row_cond; loop_row_end: return 0; }