Program HOC24;
var a,b,c: integer;
function max(x,y: integer): integer;
var max1: integer;
begin
max1:=x;
if max1<y then max1:=y;
max:=max1;
end;
begin
write('Nhap a: '); readln(a);
write('Nhap b: '); readln(b);
write('Nhap c: '); readln(c);
write('Gia tri lon nhat trong 3 so la : ',max(max(a,b),c));
readln
end.