From aa302cd5e5cc5ef2c7135c7b46bc40d755e2c917 Mon Sep 17 00:00:00 2001 From: cindydhy <38956884+cindydhy@users.noreply.github.com> Date: Tue, 26 Mar 2019 10:26:50 -0400 Subject: [PATCH] Fixed formatting issues. (#35137) --- guide/english/c/conditional-statements/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/c/conditional-statements/index.md b/guide/english/c/conditional-statements/index.md index ec3553fad2..9ef6ba2a53 100644 --- a/guide/english/c/conditional-statements/index.md +++ b/guide/english/c/conditional-statements/index.md @@ -22,7 +22,7 @@ if(boolean_expression) int a = 100; if(a < 200) { - printf("a is less than 200\n" ); + printf("a is less than 200\n"); } ``` @@ -262,7 +262,7 @@ int main(void) { As seen above, both `if` blocks are executed. In the second, the value of `x` is has been overwritten to `4`, which may not be what you want. ## 7. Ternary operation -The ternary operator (AKA conditional operator) is an operator that takes three arguments. The first argument is a comparison argument, the second is the result upon a true comparison , and the third is the result upon a flase comparison .It can be thought of as a shortened way of writing an if-else statement. It is often used to to assign variables based on the result of a comparison. +The ternary operator (AKA conditional operator) is an operator that takes three arguments. The first argument is a comparison argument, the second is the result upon a true comparison , and the third is the result upon a flase comparison. It can be thought of as a shortened way of writing an if-else statement. It is often used to to assign variables based on the result of a comparison. #### Syntax ```C