Answer to Question 25B-3

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