package main
import "fmt"
func main() {
var arr [10]int
fmt.Println("请输入10个整数:")
for i := 0; i < 10; i++ {
fmt.Scan(&arr[i])
}
fmt.Println("逆序输出:")
for i := 9; i >= 0; i-- {
fmt.Printf("%d ", arr[i])
}
}