Files
2026-05-28 10:16:10 +00:00

24 lines
293 B
C

// Helper function
#include <stdio.h>
void print_row(int width);
int main(void)
{
const int n = 3;
for (int i = 0; i < n; i++)
{
print_row(n);
}
}
void print_row(int width)
{
for (int i = 0; i < width; i++)
{
printf("#");
}
printf("\n");
}