Happy About the progress
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// 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");
|
||||
}
|
||||
Reference in New Issue
Block a user