diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:23:07 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-01 05:23:07 +0000 |
commit | 52468041b5aadca8b2bdd27b4292417d82ba5848 (patch) | |
tree | 17e228b21fee4b4b279493a944b20a88c6e6fb1f | |
parent | 00b7620092053204de608e9a71367a4a21481408 (diff) |
Thu, Nov 30, 2023, 9:23 PM -08:00
-rw-r--r-- | if.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#include <stdio.h> +#include <cs50.h> + +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"); +} +} |