Online C++ Compiler

#include<iostream> #include<complex> using namespace std; main() { complex<double> c1(5, 2); //acos() function for complex number cout << "The acos() of " << c1<< " is "<< acos(c1); }