if statement

if(conditional)
{
  //code
}
Braces are only needed for multiline code blocks following the if statement. The code is executed if the conditional statement is true.