Ask Question

A while loop is somewhat limited, because the counter can only be incremented by one each time through the loop.

True False

+4
Answers (1)
  1. 21 March, 06:25
    0
    False

    Explanation:

    In a while loop we can increment the counter by any number that we wish. It is not that the counter can only be incremented by one each time through the loop.

    Below is an example of a while loop with counter incremented by 5 each time.

    int count=0; / /initialize count to 0

    while (count<50) { / /continue the loop till count is lesser than 50

    cout<
    count = count + 5; / /increment counter by 5 each time

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “A while loop is somewhat limited, because the counter can only be incremented by one each time through the loop. True False ...” 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