#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
int p,l,kel,luas;
cout<<"MENGHITUNG LUAS DAN KELILING PERSEGI"<<endl;
cout<<"masukan panjang : "; cin>>p;
cout<<"masukan lebar : "; cin>>l;
kel=2*p+l;
luas=p*l;
cout<<"====HASIL==="<<endl;
cout<<"luas : "<<luas<<endl;
cout<<"keliling : "<<kel;
return 0;
}