mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
Update index.md (#26198)
This commit is contained in:
parent
63424ff8f6
commit
1bfae61790
@ -24,6 +24,7 @@ else
|
||||
expression-2;
|
||||
}
|
||||
```
|
||||
As an aside, if the expression under the conditional statement is only 1 line, curly braces are not necessary. However, it is recommended to use them to get in the habit.
|
||||
|
||||
The above code however can be used to check more than just two conditions in the following way/syntax:
|
||||
```cpp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user