Ask Question
25 October, 01:34

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. 25 October, 02:50
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers