Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
using namespace std; int main() { const double PI = 3.141592653589793; cout << sin(3) << "\n"; cout << sin(-3) << "\n"; cout << sin(0) << "\n"; cout << sin(PI) << "\n"; cout << sin(PI / 2.0) << "\n"; return 0; }
0.14112
-0.14112
0
1.22465e-16
1