Which one of the following test cases would achieve 100% statement coverage?

Given the following sample of pseudo code: Read A, B, C; If A > B then Print “Primary ratio is” & A / B; End If If A > C then Print “Secondary ration is” & A / C; End If.

  • A. A = 5, B = 10 and C = 2
  • B. A = 10, B = 10 and C = 10
  • C. A = 10, B =5 and C = 2
  • D. A = 2, B= 5 and C = 10

Answer: Option C