" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
//Program POLE Trójkąta
using namespace std;
int main()
{
double a,h,w;
cout << "Podaj dlugosc a=";
cin >> a;
cout << "Podaj wysokośc(h): " << endl;
cin >> h;
w=0,5*h*a;
cout << "Pole trójkąta wynosi "
<< w;
system("PAUSE");
return 0;
}