Додати до Chrome
X=2Y=4Z=10do X=Y-X Y=Z-Yloop until Z < X+Ycall msgbox(X)
8
N/R
-2
2
6
No, for-loops are actually less safe due to how it's declared
Yes, for-loops tend to be safer due to how it's declared
No, it's harder to get an infinite loops on a while-loop
1.Qual o valor da seguinte expressão?
INSTR("CAVALEIRO",CHR(ASC("D")+1))
7
5
Варіант 4
Варіант 2
Варіант 5
Варіант 3
Варіант 1
No, if the update is of more than one it must be written as i = i * 2
Yes.
No, because the update can only use addition/subtraction. Other operators, like multiplication and division aren't allowed.
No, the update can only be in increments of one (++ or --)
No, we need to establish the condition for the for-loop to work.
Yes, and it must be used with caution since this can loop infinitely if no break is used in the loop.
Yes, and it's safe from infinite loops since the for-loop will establish a default condition.
No, all the parameters must be given for the for-loop to de valid.