1.
program timgtln;
uses crt;
var a,b,c: real;
Max: real;
begin
clrscr;
write('Nhap a vao day '), readln(a);
write('Nhap b vao day '), readln(b);
write('Nhap c vao day '), readln(c);
Max:= a;
if Max < b then Max:=b;
if Max < c then Max:=c;
writeln('So lon nhat la',Max);
readln
end.
Này mới đúng nha bạn
program timgtln;
uses crt;
var a,b,c: real;
Max: real;
begin
clrscr;
write('Nhap a vao day '); readln(a);
write('Nhap b vao day '); readln(b);
write('Nhap c vao day '); readln(c);
Max:= a;
if Max < b then Max:=b;
if Max < c then Max:=c;
writeln('So lon nhat la',Max);
readln
end.