Quick actions

cmd+k|ctrl+k

Navigation

Languages

Lab 2(46)

Snippet info

Language

Cpp

Visibility

public

Author

buteskul5.6

Created

2018-09-26T09:46:42Z

Updated

2018-09-26T09:54:39Z

#include <iostream>
#include <cmath>

using namespace std;

int main()

{
	double x, y;
	cout << "enter x ";
	cin >> x;
	y = abs(x) + abs(x + 1);
	cout << y;
	return 0;
}


INFO