Определите значения переменных x и y после выполнения следующего фрагмента программы? x := 8; y:=2;
if x > y then begin x := x - y; y:= x; end
else begin y := y - x; x := y; end;
Укажите правильный вариант ответа:
x = 2, y = -6
x = 6, y = 6
x = -6, y = -6
x = 6, y = 8
x = 6, y = -6
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.