Quick actions

cmd+k|ctrl+k

Navigation

Languages

Skalei

Snippet info

Language

Cpp

Visibility

public

Author

skalei.volodimir

Created

2018-10-09T19:47:52Z

Updated

2018-10-09T19:49:34Z

#include <iostream>
#include <math.h>

using namespace std;

int  main()
{
	int x,a,b,c;
	double result;

	cout << "Input x , a , b , c" << endl;

	cin >> x >> a >> b >> c;

	result = 1 / sqrt(a*pow(x, 2) + b * x + c);

	cout << " Your result = " << result << endl;
}
INFO