Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int points, p,br=0,x;
  7. int m, n, b, r, d;
  8.  
  9. cout << "Enter radius: ";
  10. cin >> r;
  11. cout << "Enter border: ";
  12. cin >> b;
  13. cout << "Enter a number of points: ";
  14. cin >> points;
  15. {
  16. cout << "m: "; cin >> m;
  17. cout << "n: "; cin >> n;
  18. d = m * n + n * m;
  19. while (m < n < x)
  20. br++;
  21. if (d <= r * r && n <= b);
  22. else cout << "This point is not in the zone." << endl;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement