From b2453faff43249953dddf17d04b46a9ea201c804 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 1 Dec 2023 05:35:48 +0000 Subject: Thu, Nov 30, 2023, 9:35 PM -08:00 --- compare.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'compare.c') diff --git a/compare.c b/compare.c index 6c436bf..8511597 100644 --- a/compare.c +++ b/compare.c @@ -3,19 +3,19 @@ int main(void) { -int x = get_int("What's x? "); -int y = get_int("What's y? "); + 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"); -} + 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