8
Объяснение:
1) s = 0, x = 3
x = 3+4 = 7
s = 0 + 2 = 2
2) s = 2, x = 7
x = 7 + 4 = 11
s = 2 + 2 = 4
3) s = 4, x = 11
x = 11 + 4 = 15
s = 4 + 2 = 6
4) s = 6, x = 15
x = 15 + 4 = 19
s = 6 + 2 = 8
Цикл завершается, так как 19 не меньше 16.
8
Объяснение:
1) s = 0, x = 3
x = 3+4 = 7
s = 0 + 2 = 2
2) s = 2, x = 7
x = 7 + 4 = 11
s = 2 + 2 = 4
3) s = 4, x = 11
x = 11 + 4 = 15
s = 4 + 2 = 6
4) s = 6, x = 15
x = 15 + 4 = 19
s = 6 + 2 = 8
Цикл завершается, так как 19 не меньше 16.