Zadatak30-16

#include <iostream>
#include <cmath>

using namespace std;

int main()
{
int x, y;
float R;
cin >> R >> x >> y;
if(R / 2 > sqrt(x * x + y * y))
cout << „unutra“ << endl;
else if(R / 2 < sqrt(x * x + y * y))
cout << „van“ << endl;
else
cout << „na ktuznici“ << endl;
return 0;
}

Advertisements