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