#include <iostream>
using namespace std;
int main()
{
float a, h, pole;
cout << "Podstawa trojkata: ";
cin >> a;
cout << "Wysokosc trojkata";
cin >> h ;
pole = a * h/2;
cout <<"Pole trojkata wynosi:"<< pole;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpCnsKCWZsb2F0IGEsIGgsIHBvbGU7CgkKCWNvdXQgPDwgIlBvZHN0YXdhIHRyb2prYXRhOiAiOwoJY2luID4+IGE7Cgljb3V0IDw8ICJXeXNva29zYyB0cm9qa2F0YSI7CgljaW4gPj4gaCA7Cglwb2xlID0gYSAqIGgvMjsKCWNvdXQgPDwiUG9sZSB0cm9qa2F0YSB3eW5vc2k6Ijw8IHBvbGU7CglyZXR1cm4gMDsKfQ==