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> c1(4.0, 16.0), c2;
- c2 = pow(c1, 2.0);
- cout << c2;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement