#include <iostream>
using namespace std;
int main()
{
double a, b, s, p;
cout << "Vvedite storonu A:";
cin >> a;
cout << "Vvedite storonu B:";
cin >> b;
s = a * b;
p = (a + b) * 2;
cout << "Ploshyad':" << s << endl;
cout << "Ploshyad':" << p;
return 0;
}
using namespace std;
int main()
{
double a, b, s, p;
cout << "Vvedite storonu A:";
cin >> a;
cout << "Vvedite storonu B:";
cin >> b;
s = a * b;
p = (a + b) * 2;
cout << "Ploshyad':" << s << endl;
cout << "Ploshyad':" << p;
return 0;
}