2. 40
Объяснение:
S := 50;
k := S/2 - 25 = 50/2 - 25 = 25 - 25 = 0;
S := S - 10 = 50 - 10 = 40;
k = k + S = 0 + 40 = 40;
2. 40
Объяснение:
S := 50;
k := S/2 - 25 = 50/2 - 25 = 25 - 25 = 0;
S := S - 10 = 50 - 10 = 40;
k = k + S = 0 + 40 = 40;