Answer to Question 29B-2

Complex sum(const Complex& a, const Complex& b)
{
  Complex c;

  c.rePart = a.rePart + b.rePart;
  c.imPart = a.imPart + b.imPart;
  return c;
}