24 lines
293 B
C
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");
|
|
}
|