Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
5
6
7
8
9
10
11
12
13
// {
#include
<iostream>
#include
<math.h>
using
namespace
std;
// }
int
main() {
cout << (sqrt(
3
) * sqrt(
3
) -
3
) << endl
<< (sqrt(
3
) * sqrt(
3
) ==
3
) << endl
<< (fabs(sqrt(
3
) * sqrt(
3
) -
3
) <
0.0000001
) << endl;
}
Press desired key combination and then press ENTER.
Run