Bài 1 :
Program dien_tích_tamgiac;
Var a , h . Read;
Begin
Write ('nhap a ='); Readln (a);
Write ('nhap chieu h ='); Readln (h);
Writeln ('dien tich tam giac la:'S=1/2*a*h:4:2);
Readln;
End.
Bài 2 :
var a,b,c,i:integer;
MX,MN:real;
begin
write('nhap a'); readln(a);
write('nhap b'); readln(b);
write('nhap c'); readln(c);
MX:=a; MN:=a;
if MX<b then MX:=b;
if MX<c then MX:=c;
if MN>b then MN:=b;
if MN>c then MN:=c;
writeln('Min=',MN);
writeln('Max=',MX);
readln;
end.