uses crt;
var a,h,cv:integer;
dt:real;
begin
clrscr;
write('nhap canh thu 1:'); readln(a);
write('nhap chieu cao:'); readln(h);
cv:=a+h;
dt:=(a*h)/2
writeln('chu vi tam giac la: ',cv);
writeln('dien tich tam giac la: ',dt:4:2);
readln;
end.
uses crt;
var a,h,cv:integer;
dt:real;
begin
clrscr;
write('nhap canh thu 1:'); readln(a);
write('nhap chieu cao:'); readln(h);
cv:=a+h;
dt:=(a*h)/2
writeln('chu vi tam giac la: ',cv);
writeln('dien tich tam giac la: ',dt:4:2);
readln;
end.