summaryrefslogtreecommitdiff
path: root/compare.c
diff options
context:
space:
mode:
Diffstat (limited to 'compare.c')
-rw-r--r--compare.c28
1 files changed, 14 insertions, 14 deletions
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");
+ }
}