Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 161 Bytes
package main
import "fmt"
func main() {
var name string
fmt.Printf("Hello, what's your name? ")
fmt.Scanf("%s\n", &name)
fmt.Printf("Hello, %s\n", name)
You can’t perform that action at this time.