1223 - ANS-
A counter continues track of - ANS-the wide variety of times an occasion has occurred
Adding 1 to a variable is likewise known as - ANS-incrementing it
In the following pseudocode, what is output if a=1, b=2, and c=five?
At the same time as a<c
a=a+1
b=b+c
endwhile
output a, b, c - ANS-5, 22, 5
In the following pseudocode, what is output if d=4, e=6, and f=7?
While d>f
d=d+1
e=e-1
endwhile
output d, e, f - ANS-4, 6, 7
In the following pseudocode, what is output if g=four and h=6?
At the same time as g<h
g=g+1
endwhile
output g, h - ANS-6, 6
Most programmers use a for loop - ANS-when they recognise the precise range of instances
a loop will repeat
Subtracting 1 from a variable is called - ANS-decrementing it
The statements achieved inside a loop are known collectively as the - ANS-loop body
The structure that allows one set of instructions to perform on a couple of, separate units of
facts is the - ANS-loop
When loops are nested, the loop that is contained with the aid of the alternative is the -
ANS-internal loop
When two loops are nested, the loop that is containing the opposite is the - ANS-outer loop