Помогите пожалуйста
1) Определите значение переменной c после выполнения следующего фрагмента программы:
a := 100;
b := 30;
a := a – b*3;
if a > b then
c := a – b
else c := b – a;
2) a := -5;
b := 14;
b := b + a*2;
if a > b then
c := a + b
else c := b – a;
3) a := -5;
b := 3;
a := a - b*2;
if a > b then
c := b - a
else c := a – b;
4) a := -5;
b := -3;
a := a - b*3;
if a > b then
c := b + a
else c := a – b;
5)a := -2;
b := -3;
a := b + a*3;
if a < b then
c := a - b
else c := b – a;
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.