func testScanln(){ var a int var b string fmt.Printf("input int & string:") fmt.Scanln(&a,&b) fmt.Fprintf(os.Stdout,"int:%d, string:%s",a,b) }
確定! 回上一頁