Which of the following is a drawback of while loops?Single choice

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.

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!