Given the following fragment of code, how many tests are required for 100% statement coverage?

If width > length then biggest_dimension = width If height > width then biggest_dimension = height Endif Else biggest_dimension = length If height > length then biggest_dimension = height Endif Endif

  • A. 1
  • B. 2
  • C. 3
  • D. 4

Answer: Option B