From 94e37ba39293599f31f1bba79e5d213a4e4e9c7b Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 4 Dec 2023 03:02:25 +0000 Subject: Sun, Dec 3, 2023, 7:02 PM -08:00 --- wk1/pset1/mario-more/mario.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wk1/pset1') diff --git a/wk1/pset1/mario-more/mario.c b/wk1/pset1/mario-more/mario.c index 55dc2d3..1b1fc83 100644 --- a/wk1/pset1/mario-more/mario.c +++ b/wk1/pset1/mario-more/mario.c @@ -44,13 +44,13 @@ void print_grid(size) } else { - if ((size - (j + i))) + if ((size - (j + i)) > 1) ) { - printf(" "); + printf("#"); } else { - printf("#"); + printf(" "); } } } -- cgit v1.2.3