Answer to Question 25B-6

Complex sum(const Complex& a, const Complex& b)
{
  return Complex(a.repart + b.repart, a.impart + b.impart);
}