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


#include <iostream>
#include <cmath>
#include <clocale>
using namespace std;

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

    double a, b, c, x, y, t1;

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

    t1 = a * x / y + b / (y * y) * log10(y * x + c);

    cout << "Результат t1 = " << t1 << endl;

    return 0;
}