Which of the following test cases will ensure that statement “06” is executed?

Given the following sample of pseudo code: 01 Input number of male rabbits 02 Input number of female rabbits 03 If male rabbits > 0 and female rabbits > 0 then 04 Input Do you want to breed (Yes / No) 05 If breed = “No” 06 Print “Keep male and female rabbits apart!” 07 End if 08 End If

  • A. male rabbits = 1, female rabbits = 1, breed = “yes”.
  • B. male rabbits = 1, female rabbits = 1, breed = “no”.
  • C. male rabbits = 1, female rabbits = 2, breed = “yes”.
  • D. male rabbits = 1, female rabbits = 0, breed = “no”.

Answer: Option B