summaryrefslogtreecommitdiff
path: root/wk1/compare.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 05:51:36 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-03 05:51:36 +0000
commit6a10c33f6e59de7f02fd6c12bce308d3150c5eeb (patch)
treec558b480b37a5ae3f648eb4346115ed079678329 /wk1/compare.c
parent2e86106732db92667bd8a64e3f98c1b6e8df86a5 (diff)
Sat, Dec 2, 2023, 9:51 PM -08:00
Diffstat (limited to 'wk1/compare.c')
-rw-r--r--wk1/compare.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/wk1/compare.c b/wk1/compare.c
deleted file mode 100644
index 8511597..0000000
--- a/wk1/compare.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdio.h>
-#include <cs50.h>
-
-int main(void)
-{
- int x = get_int("What's x? ");
- int y = get_int("What's y? ");
-
- if (x < y)
- {
- printf("x is less than y\n");
- }
- else if (x > y)
- {
- printf("x is greater than y\n");
- }
- else
- {
- printf("x is equal to y\n");
- }
-}