JSRUN
func main(){ var name string var age int count,err:=fmt.Scanf("%s%d",&name,&age) fmt.Printf("name=%s,age=%d\n",name,age) fmt.Printf("输入了%d个参数\n",count) fmt.Print("错误提示信息:",err)}
使用此草稿 删除草稿