Find the Output: Two independent if statements

  • Option : B
  • Explanation : The two if statements are independent. Both x > 5 and x > 8 are true. The else belongs only to the second if, so the output is AB.