fix: converted single to triple backticks6 (#36233)
This commit is contained in:
@@ -8,32 +8,34 @@ localeTitle: إذا كان البيان الآخر
|
||||
|
||||
## مثال
|
||||
|
||||
`if(boolean expression)
|
||||
{
|
||||
// execute this code block if expression evalutes to true
|
||||
}
|
||||
else
|
||||
{
|
||||
// always execute this code block when above if expression is false
|
||||
}
|
||||
|
||||
|
||||
int Price = 30;
|
||||
|
||||
If (Price = 30)
|
||||
{
|
||||
Console.WriteLine("Price is equal to 30.");
|
||||
}
|
||||
|
||||
Else
|
||||
{
|
||||
Console.WriteLine("Price is not equal to 30.");
|
||||
}
|
||||
`
|
||||
```
|
||||
if(boolean expression)
|
||||
{
|
||||
// execute this code block if expression evalutes to true
|
||||
}
|
||||
else
|
||||
{
|
||||
// always execute this code block when above if expression is false
|
||||
}
|
||||
|
||||
|
||||
int Price = 30;
|
||||
|
||||
If (Price = 30)
|
||||
{
|
||||
Console.WriteLine("Price is equal to 30.");
|
||||
}
|
||||
|
||||
Else
|
||||
{
|
||||
Console.WriteLine("Price is not equal to 30.");
|
||||
}
|
||||
```
|
||||
|
||||
بما أننا أعلنا بالفعل أن السعر لدينا هو 30 ، سيكون هذا هو الناتج المتوقع.
|
||||
|
||||
## انتاج |
|
||||
|
||||
`Price is equal to 30.
|
||||
`
|
||||
```
|
||||
Price is equal to 30.
|
||||
```
|
||||
Reference in New Issue
Block a user