Răspuns:
#include <iostream>
using namespace std;
int main()
{
double a, b;
cout<<"Lungimea = "; cin>>a; cout<< endl;
cout<<"Latimea = "; cin>>b; cout<< endl;
cout<<"Aria = "<<a*b<<" ";
cout<<"Perimetrul = "<<2*(b + a)<<" ";
}
Sper ca te-am ajutat!