Quick actions

cmd+k|ctrl+k

Navigation

Languages

46

Snippet info

Language

Cpp

Visibility

public

Author

andrusus.korotkovus

Created

2018-10-09T03:07:13Z

Updated

2018-10-09T03:07:13Z

#include <iostream>
#include <cmath>

using namespace std;

int main()

{
	double x, y;
	cout << "введите x ";
	cin >> x;
	y = abs(x) + abs(x + 1);
	cout << y;
	return 0;
}


INFO