cout << "a = " << a << ", b = " << b << endl;
cout << "a + b = " << a + b << endl;
cout << "a * b = " << a * b << endl;
cout << "\nthe real part of a is " << real(a) << endl;
cout << "the imaginary part of b is " << imag(b) << endl;
cout << "the magnitude of a is " << abs(a) << endl;