#include <bits/stdc++.h>
using namespace std;
int a,b,dt;
int main()
{
cout<<"Nhap chieu dai: ";
cin>>a;
cout<<"Nhap chieu rong: ";
cin>>b;
dt=a*b;
cout<<"Dien tich la: "<<dt;
Return 0;
}
program hinh_chu_nhat;
uses crt;
var a,b:integer;
begin
clrscr;
write('nhap gia tri cua chieu dai: ');readln(a);
write('nhap gia tri cua chieu rong: ');readln(b);
writeln('chu vi la: ',(a+b)*2);
write('dien tich la: ',a*b);
readln;
end.