Which of the following is a drawback of while loops?单项选择题

A

They cannot be used when programmers do not know exactly how many times a loop will run.

B

They are less adaptable than for loops.

C

They require programmers to look in different places in the code to follow the logic of what happens to a variable.

D

They cannot be used with conditional statements.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!