Quick actions

cmd+k|ctrl+k

Navigation

Languages

Skalei

Snippet info

Language

Cpp

Visibility

public

Author

skalei.volodimir

Created

2018-10-09T19:51:45Z

Updated

2018-10-09T20:02:34Z

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

using namespace std;

int  main()
{
	int x;
	double result;

	cout << "Input your number" << endl;

	cin >> x;

	result = sqrt(1 - pow(sin(x),2));

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