summaryrefslogtreecommitdiff
path: root/wk1/pset1/mario-more
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 10:23:13 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 10:23:13 +0000
commit9c28af1d909cacf11bf64dd86ebbdddc67d3ed6e (patch)
tree0b45fd6103a208a459acc47c4f3bde6e768a16e7 /wk1/pset1/mario-more
parent1aec3df41d238be3d1b456e16f0d369cf09eb642 (diff)
Sun, Dec 3, 2023, 2:23 AM -08:00
Diffstat (limited to 'wk1/pset1/mario-more')
-rw-r--r--wk1/pset1/mario-more/mario.c11
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");
}
}
-
-
-