Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int points, p,br=0,x;
- int m, n, b, r, d;
- cout << "Enter radius: ";
- cin >> r;
- cout << "Enter border: ";
- cin >> b;
- cout << "Enter a number of points: ";
- cin >> points;
- {
- cout << "m: "; cin >> m;
- cout << "n: "; cin >> n;
- d = m * n + n * m;
- while (m < n < x)
- br++;
- if (d <= r * r && n <= b);
- else cout << "This point is not in the zone." << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement