Ask Question
1 August, 09:32

Which piece of pseudocode represents incrementing the loop control variable called count?

+2
Answers (2)
  1. 1 August, 11:15
    0
    Here's the pseudocode for incrementing the variable count inside a loop.

    Using while loop:

    Initialize count to zero

    While [insert condition here]

    Add 1 to count

    End while
  2. 1 August, 11:56
    0
    Basing the answer in a While Loop

    intialize count tozero

    while {insert condition}

    Add1 to count

    End while

    int count=0

    int limit=10

    count=1

    while (count<=10)

    count=count+1

    print

    The variable count here is initialized tested and changed as the loop executes. it is an ordinary int variable, but it is used in a special role. The role is that of a loop control variable. however note that not all loops have loop control variables.

    In our case the type of loop we are looking at is a counting loop. it counts upwards using the loop control variable as a counter.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which piece of pseudocode represents incrementing the loop control variable called count? ...” 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