We wish to add doubles to complex numbers and complex numbers to doubles:

Complex z1(-23.0, 5.3);

Complex z2(2.0, 3.0);

Complex z3 = z1 * z2;

Complex z4 = 2.0 * z4;

Explain how this code solves the problem:

friend Complex operator * (const Complex& c, double d);

friend Complex operator * (double d, const Complex& c);

Explain