From 3701ed1038a3259388baf25232f4b9ba65ef9158 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 1 Dec 2023 05:25:03 +0000 Subject: Thu, Nov 30, 2023, 9:25 PM -08:00 --- compare.c | 14 ++++++++++++++ if.c | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 compare.c delete mode 100644 if.c diff --git a/compare.c b/compare.c new file mode 100644 index 0000000..6dfbdc8 --- /dev/null +++ b/compare.c @@ -0,0 +1,14 @@ +#include +#include + +int main(void) +{ +int x, 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"); +} +} diff --git a/if.c b/if.c deleted file mode 100644 index 6dfbdc8..0000000 --- a/if.c +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include - -int main(void) -{ -int x, 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"); -} -} -- cgit v1.2.3