
Kathrilune
4 год назад
Чему будет равно значение переменной s после выполнения следующей последовательности операторов?s:=0; i:=5;repeats:=s+2*i;i:=i+3;until s>10;
ОТВЕТЫ

Лука
Oct 24, 2020
S = 7 i = 1
s = s + 3*i i = i+3
s = 7 + 3*1 = 10 i = 1+3 = 4
s>10
10>10 (нет)
s = 10 + 3*4 = 22
s>10
22>10 (да)
s = 22
559
Смежные вопросы: