Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
163 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	int a,b;
	cin >> a >> b;
	cout << "S = " << a * b << endl;
	cout << "P = " << 2 * (a + b) << endl;
}