# example 1A print reverse(); # keeps each line entered from # in a buffer # then prints each line in # reverse order after EOF