Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int radius; // go deklarirame radiusot
- cin >> radius; // go vnesuvame radiusot
- double PI = 3.1415; // konstanta pi
- double perimetar = 2 * radius * PI;
- double plostina = radius * radius * PI;
- cout << perimetar << " " << plostina << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment