diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-03 01:55:31 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-03 01:55:31 +0000 |
commit | a2c2af12e8937dbe407f5088ab3d68fd8f57cd27 (patch) | |
tree | 3458be01eb31dfac438e3e6f69c0d87623c7a06c /compare.c | |
parent | b10bc0499111388d13dbc0926f425edc01ba3653 (diff) |
Sat, Dec 2, 2023, 5:55 PM -08:00
Diffstat (limited to 'compare.c')
-rw-r--r-- | compare.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/compare.c b/compare.c deleted file mode 100644 index 8511597..0000000 --- a/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"); - } -} |