Which control structure would be most appropriate for the following scenario: we always want to run print statement 1, and then we want to run print statement 2 if x is true

// run print statement 1
if (x)
{
    // run print statement 2
}
  • // run print statement 1
    if (!x)
    {
        // run print statement 2
    }
  • if (x)
    {
        // run print statement 1
    }
    else
    {
        // run print statement 2
    }
  • // run print statement 1
    else if (x)
    {
        // run print statement 2
    }

There are no hints for this question