Commit 1e4c108f authored by Нурмухаметов Вадим Наилович's avatar Нурмухаметов Вадим Наилович
Browse files

Update if.md

parent 689e660f
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
if (v <= 5) v = 10; if (v <= 5) v = 10;
``` ```
или или
```cssharp ```csharp
if (v <= 5) { v = 10; } if (v <= 5) { v = 10; }
``` ```
- В две строки - В две строки
...@@ -19,3 +19,11 @@ ...@@ -19,3 +19,11 @@
v = 10; v = 10;
} }
``` ```
**Простое условие + несколько строк кода**
```csharp
if (v <= 5)
{
v = 10;
res = 10 / 4;
}
```
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment