Đăng nhập để hỏi chi tiết


Hãy luôn nhớ cảm ơn và vote 5*
nếu câu trả lời hữu ích nhé!
uses crt;
var a,b,c,max,min:longint;
begin
clrscr;
read(a,b,c);
max:=a;
if b>max then max:=b;
if c>max then max:=c;
write(max,' ');
min:=a;
if b<min then min:=b;
if c<min then min:=c;
write(min,' ');
if (a<max) and (a>min) then write(a)
else if (b<max) and (b>min) then write(b)
else write(c);
readln;
readln;
end.
Hãy giúp mọi người biết câu trả lời này thế nào?
![]()
Bảng tin
0
6
0
Cảm ơn anh
2289
45107
1741
ok bạn