Advertisement
Dprogrammed1

cplus

Apr 1st, 2019
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <iostream>
  2.     #include <complex>
  3.     using namespace std;
  4.     int main ()
  5.     {
  6.         complex<double> mycomplex (20.0, 2.0);
  7.         cout << imag(mycomplex) << endl;
  8.         return 0;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement