Skip to content

Commit 7d27661

Browse files
author
Svetlin Nakov
committed
Updates Content/Chapter-3-1-simple-conditions/simple-conditions/simple-conditions.md
Auto commit by GitBook Editor
1 parent 9ae4901 commit 7d27661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Content/Chapter-3-1-simple-conditions/simple-conditions/simple-conditions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Test your solution from the example here: [https://judge.softuni.org/Contests/Pr
5656
When we have **only one command** in the body of the ** if construction**, we can **skip the curly brackets**, indicating the conditional operator body. When we want to execute **block of code** (group of commands), curly brackets are **required**. In case we drop them, **only the first line** after the **if clause** will be executed.
5757

5858
<table><tr><td><img src="/assets/alert-icon.png" style="max-width:50px" /></td>
59-
<td>It's a good practice to <strong>always put curly braces,</strong> because it makes our code more readable and clean.</td>
59+
<td>It's a good practice to <strong>always put curly braces,</strong> because it makes our code more readable and cleaner.</td>
6060
</tr></table>
6161

6262
Here is an example where dropping curly braces leads to confusion:

0 commit comments

Comments
 (0)