Answer to Question 25C-6

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