Загрузка данных


#include <iostream>
using namespace std;

int main() {
    setlocale(LC_ALL, "Russian");

    double x, y;
    cout << "Введите x: ";
    cin >> x;
    cout << "Введите y: ";
    cin >> y;

    double big = x * x + y * y;                     // для большого круга
    double small = (x - 1.5) * (x - 1.5) + y * y;   // для малого круга

    if (x <= 0) {
        // II и III четверти
        if (big <= 9)
            cout << "Попадает" << endl;
        else
            cout << "Не попадает" << endl;
    }
    else if (y >= 0) {
        // I четверть
        if (x <= 3 && y <= 6 && small >= 2.25)
            cout << "Попадает" << endl;
        else
            cout << "Не попадает" << endl;
    }
    else {
        // IV четверть
        if (big <= 9 && small >= 2.25)
            cout << "Попадает" << endl;
        else
            cout << "Не попадает" << endl;
    }

    return 0;
}