" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
using namespace std;
int main(){
double a, b;
cout << "Podaj boki prostokata" << endl;
cin >> a >> b;
double pi = 3.14159;
cout << "Srednica okregu o obwodzie rownym obwodowi prostokata o bokach " <<a << " i " << b << " wynosi: " << 2*(a+b)/pi << endl << endl;
system ("pause");
return 0;
}