uses crt;
var a,b,h:real;
begin
clrscr;
write('Nhap do dai canh a:'); readln(a);
write('Nhap do dai canh b:'); readln(b);
write('Nhap do dai duong cao h:'); readln(h);
writeln('Chu vi cua hinh binh hanh la: '(a+b)*2:4:2);
writeln('Dien tich cua hinh binh hanh la: ',a*h:4:2);
readln;
end.