Advertisement
Josif_tepe

Untitled

Mar 12th, 2024
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     float a;
  6.     cin >> a;
  7.    
  8.     float perimetar = 2 * a * 3.1415;
  9.     float plostina = a * a * 3.1415;
  10.    
  11.     cout << "Perimetar e " << perimetar << ", a plostinata e " << plostina << endl;
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement