Определите значение переменной «a» после выполнения фрагмента программы:
1.a := 6;
if a > 5 then
a := -8;

2.a := 8;
if a < 15 then
a := a + 12
else
a := a - 7;

3.a := 8;
if a < 5 then a := a + 10
else a := a - 4;
if a < 5 then a := a + 10
else a := a - 4;

4.a := 8;
if a > 5 then a := a + 10
else a := a - 4;
if a > 5 then a := a + 10
else a := a - 4;

5.a := 7; b := 2;
if a > b then b := b + 8
else a := a - 3;
if a > b then a := a + 8
else a := a - 3;
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.