我给的程序是正确的!这是逐次的结果
tree(1)
atree(2)
b
  d
  ftree(3)
ctree(4)
b
  d
    etree(5)
b
  d
    e
      gtree(6)
b
  ftree(7)
b
  d
    e
      g
        h
        itree(8)
b
  d
    e
      g
        htree(9)
b
  d
    e
      g
        i