Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <complex>
- using namespace std;
- int main ()
- {
- complex<double> mycomplex (20.0, 2.0);
- cout << imag(mycomplex) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement