Ребят, помогите с информатикой! procedure swap(var x, y: integer);
var
m: integer;
a, b, c: integer;
begin
m := x;
x := y;
y := m;
end;

begin
readln (a,b,c);
write('Enter a,b,c:');
if a > b then swap(a, b);
if b > c then swap(b, c);
writeln('a=', a, 'b=', b, 'c=', c);
readln;
end.
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.