Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which looping process is best used when the number of iterations is known?

a) for
b) while
c) do-while
d) all looping processes require that the iterations be known

Answer: a
Explanation: Because in for loop we are allowed to provide starting and ending conditions of loops, hence fixing the number of iterations of loops, whereas no such things are provided by other loops.

Join The Discussion