Quick actions

cmd+k|ctrl+k

Navigation

Languages

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

Snippet info

Language

Cpp

Visibility

public

Author

dimonkoko1

Created

2018-09-15T15:06:47Z

Updated

2018-09-29T14:37:35Z

#include <iostream>
#include <cmath>

using namespace std;

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

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

	
	ans = x - pow(10,sin(x)) + cos(x - y);
	cout << "Ответ:" << ans << endl;
	
    return 0;
}
INFO