From e6c9c6c124a8b38dec6459423cb6ccb5b23ec503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Mon, 15 Oct 2018 23:54:31 +0100 Subject: [PATCH] Hotfix code formatting (#19387) --- .../pages/guide/english/c/conditional-statements/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/pages/guide/english/c/conditional-statements/index.md b/client/src/pages/guide/english/c/conditional-statements/index.md index 124b6c7e29..0663b107cb 100644 --- a/client/src/pages/guide/english/c/conditional-statements/index.md +++ b/client/src/pages/guide/english/c/conditional-statements/index.md @@ -47,7 +47,7 @@ else int a = 300; if(a < 200) { - printf("a is less than 200\n" ); + printf("a is less than 200\n"); } else { @@ -88,7 +88,7 @@ else int a = 300; if(a == 100) { - printf("a is equal to 100\n" ); + printf("a is equal to 100\n"); } else if(a == 200) { @@ -147,7 +147,7 @@ The switch statement is often faster than nested if...else (not always). Also, t ### Syntax of switch case ``` switch (n) - { +{ case constant1: // code to be executed if n is equal to constant1; break;