Answer to Question 26C-3

double re(const Complex& z)
{
  return z.repart;
}