0
1
llucycodes42
The code if (true) executes the block of code between the curly braces if the condition is true. If the condition is not true, the code between the curly braces else executes.
Shortcut: ifelse
if (true)
{
}
else
{
}
0
1
llucycodes42
The code if (true) executes the block of code between the curly braces if the condition is true. If the condition is not true, the code between the curly braces else executes.
Shortcut: ifelse
if (true)
{
}
else
{
}