Quick actions

cmd+k|ctrl+k

Navigation

Languages

Самостоятельная работа 2 №4 

Snippet info

Language

Cpp

Visibility

public

Author

dimonkoko1

Created

2018-09-15T15:04:56Z

Updated

2018-09-29T14:37:24Z

#include <iostream>
#include <cmath>

using namespace std;

int main() {
    //////////////////////////////// Задание №4 Вариант 17 //////////////////////////////////////////
    int	x;
    int y;
	double ans;

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

	ans = x * log(x) + y / (cos(x) - x/3);
	cout << "Ответ:" << ans << endl;
	
    return 0;
}
INFO