Answer to Question 28-2

  int firstEven(ConstList L)
  {    
    for(ConstList p = L; !isEmpty(p); p = tail(p))
    {
      int h = head(p);
      if(h % 2 == 0) 
      {
        return h;
      }
    }
    return -1;
  }