SHARE
TWEET

Untitled

a guest Sep 16th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "pch.h"
  2. #include <iostream>
  3. using namespace std;
  4.  
  5.  
  6. void main()
  7. {
  8.     setlocale(LC_ALL, "rus");
  9.     const float pe = 3.1416;
  10.     float l,r;
  11.     cout << "Введите длину окружности" << endl;
  12.     cin >> l;
  13.     r = l / (2 * pe); // этим действием мы находим радиус
  14.     cout << "Площадь круга=" << pe*r*r << endl; //этим действием выводим площадь круга
  15.  
  16.  
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top