diff options
Diffstat (limited to 'wk1/pset1/mario-more/mario.c')
-rw-r--r-- | wk1/pset1/mario-more/mario.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/wk1/pset1/mario-more/mario.c b/wk1/pset1/mario-more/mario.c index a659553..55dc2d3 100644 --- a/wk1/pset1/mario-more/mario.c +++ b/wk1/pset1/mario-more/mario.c @@ -1,14 +1,14 @@ -#include <stdio.h> #include <cs50.h> +#include <stdio.h> int get_size(void); void print_grid(int size); int main(void) { - //Get Size of Grid + // Get Size of Grid int size = get_size(); - //Print Grid + // Print Grid print_grid(size); } @@ -44,7 +44,7 @@ void print_grid(size) } else { - if ((size - (j + i)) ) + if ((size - (j + i))) { printf(" "); } @@ -59,6 +59,3 @@ void print_grid(size) printf("\n"); } } - - - |