Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
258 B
0
Indexable
Never
#include<iostream>
using namespace std;
int main()
{
	float r;
	float pi = 3.14;

	cout << "Unesi poluprecnik krruga: ";
	cin >> r;
	cout << "Obim kruga je: " << 2 * pi * r << endl;
	cout << "Povrsina kruga je: " << pow(r, 2) * pi;

	return 0;
}