Tham khảo!
Program …..; (tên)
uses crt;
Var a, b, p, s integer;
Begin;
Write (‘Nhap chieu dai CD’); Readln (a);
Write (‘Nhap chieu rong CR’); Readln (b);
p:= (a+b)*2
S:= a*b
Writeln (‘Chu vi hinh chu nhat:’ ,p);
Writeln (‘Dien tich hinh chu nhat:’ ,S);
Readln;
End.