Given the following sample of pseudo code:01 Input number of male rabbits02 Input number of female rabbits03 If male rabbits > 0 and female rabbits > 0 then04 Input Do you want to breed (Yes / No)05 If breed = No06 Print deep male and female rabbits apart07 End if08 End If.Which of the following test cases will ensure that statement 6 is executed?( )
A、malerabbits=1,femalerabbits=1,breed=Yes
B、malerabbits=1,femalerabbits=1,breed=No
C、malerabbits=1,femalerabbits=2,breed=Yes
D、malerabbits=1,femalerabbits=0,breed=No
发布时间:2024-09-29 09:54:07