#include<stdio.h>
#include<conio.h>
#include<iostream>
#include<math.h>

using namespace std;

//definicja klasy
class bryla
{
  public:
  float a,b,h;
  float oblV();
};

//definicja metody
float bryla::oblV()
{
  return a*b*h;
}

int main(void)
{
bryla pierwsza;
pierwsza.a=M_PI;
pierwsza.b=5;
pierwsza.h=5;
cout<<"Dlugosc a to: "<<pierwsza.a<<endl;
cout<<"Dlugosc b to: "<<pierwsza.b<<endl;
cout<<"Dlugosc h to: "<<pierwsza.h<<endl;
cout<<"Objetosc to: "<<pierwsza.oblV()<<endl;
getch();
return 0;
}
