package main import ( "fmt" "io" ) func main() { //使用压入栈的方法 words := make([]string, 0) for { temp := "" _, err := fmt.Scanf("%s", &temp) if err == io.EOF { break } words = append(words, temp) } for i := len(words) - 1; i >= 0; i-- { if len(words) - 1 == i{ fmt.Printf(...