From c2797e2c1f1ab70557a09cf30306a46a7ac9c077 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 1 Dec 2023 05:29:40 +0000 Subject: Thu, Nov 30, 2023, 9:29 PM -08:00 --- compare.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'compare.c') diff --git a/compare.c b/compare.c index f6745f1..1a2dc85 100644 --- a/compare.c +++ b/compare.c @@ -3,13 +3,14 @@ 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"); - } +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"); +} } -- cgit v1.2.3