A software component has the code shown below:
Program BiggestA,
Biggest: Integer
Begin
Read A
Biggest = 10
While A > 0
Do
If A > Biggest
Then Biggest = A
EndifRead A
Enddo
End
The component has exit criteria for component testing that include 100% statement
coverage. Which of the following test cases will satisfy this criterion?
Show answerHide answer
Correct answer: D
10, 11, 0