uses crt;
var a,b,c,d,t,k:integer;
function Max(x,y:integer):boolean;
Begin
if x>y then Max:=true else Max:=false;
End;
BEGIN
clrscr;
write('Nhap so thu 1: ');readln(a);
write('Nhap so thu 2: ');readln(b);
write('Nhap so thu 3: ');readln(c);
write('Nhap so thu 4: ');readln(d);
if Max(a,b) then t:=a else t:=b;
if Max(c,d) then k:=c else k:=d;
if Max(t,k) then write('So lon nhat la: ',t) else write('So lon nhat la: ',k);
readln
END.
Cho mik xin hay nhất nhé mik chỉ thiếu ctlhn nữa thôi