Online C++ Compiler

#include <bits/stdc++.h> using namespace std; int main() { complex<double> C_number(-7.0, 1.0); cout<<"log of "<<C_number<<" is "<<log(C_number)<< endl; return 0; }