
Ianlsa
4 год назад
Составить программуВести с клавиатуры переменные х и у, поменять их значения местами, если x>y.На Pascal
ОТВЕТЫ

McGee Joseph
Oct 24, 2020
var x, y:Integer;
Begin
readln(x);
readln(y);
if x>y then
writeln(x,' ', y);
if x<y then
writeln(y,' ', x);
End.
Begin
readln(x);
readln(y);
if x>y then
writeln(x,' ', y);
if x<y then
writeln(y,' ', x);
End.
359
Смежные вопросы: