输入来自console
12
4.0
scanner := bufio.NewScanner(os.Stdin)
// Declare second integer, double, and String variables.
var in uint64
var fl float64
var st string
// Read and save an integer, double, and String to your variables.
var str string
for scanner.Scan() {
fmt.Println(scanner.Text())
}
我如何使用第一个值并添加它来打印该结果?124
梵蒂冈之花
相关分类