Ask Question

This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop. 1. do-while2. while3. for4. infinite5. None of these

+5
Answers (1)
  1. 13 November, 11:42
    0
    Option 3 is the correct answer.

    Explanation:

    In c, c+ + or Java programming language, The for loop takes three parameters in which first is an initialization, second is condition check and the third is an increment. None of the other loop (except for loop) takes three parameters. The other loop takes only one parameter and that is the condition check. So when a user knows about the times of iteration then it is a good choice to use the for loop but when the person does not know about the times of iteration if the loop. It means the iteration of the loop is based on the condition then it is a good choice to chose while or Do-while loop. The above question wants to ask which loop for a user can best if he familiar with the iteration of the loop then the answer is for loop which is started from option 3. Hence Option 3 is the correct answer while the other is not because- - Option 1 states about the do-while loop which takes condition only. Option 2 states about the while loop which also takes condition only. Option 4 states about the infinite loop which is not any loop. Option 5 states about none of these which is not correct because option 3 is the correct answer.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop. 1. do-while2. while3. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers