diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 06:27:41 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 06:27:41 +0000 |
commit | 6142ce60dadd09a78e027ede6fedaa738ebeb14a (patch) | |
tree | 558c97fce991d755bb7ccc4ea3ce6daa709edcb4 /mario.c | |
parent | 9f08279ab12e262b9b7c5422b3c9b88225381f6e (diff) |
Thu, Nov 30, 2023, 10:27 PM -08:00
Diffstat (limited to 'mario.c')
-rw-r--r-- | mario.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -3,7 +3,12 @@ int main(void) { - int n = get_int("Size: "); + int n; + do + { + n = get_int("Size: "); + } + while (n < 1); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { printf("#"); |