From 52468041b5aadca8b2bdd27b4292417d82ba5848 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 1 Dec 2023 05:23:07 +0000 Subject: Thu, Nov 30, 2023, 9:23 PM -08:00 --- if.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 if.c diff --git a/if.c b/if.c new file mode 100644 index 0000000..ce09569 --- /dev/null +++ b/if.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 if (x == y) { + printf("x is equal to y\n"); +} +} -- cgit v1.2.3