Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab2 

Snippet info

Language

Cpp

Visibility

public

Author

enifmankalinan

Created

2018-11-25T20:41:05Z

Updated

2018-12-03T21:26:51Z

#include <iostream>
#include <cmath>
using namespace std;
int main()

{

	int x, y, H;	
	double exp;
	cout << "enter x,y";
	cin >> x, y;
	if (18 * y - 1 != 0)
	{
		H = pow(exp,x) - (y *y + 12 * x*y - 3 * x*x) / (18 * y - 1);
		cout << H;
	}
	else
	{
		cout << "no solutions";
	}

	return 0;
}
INFO