Baca Input Pengguna

// Go programming language

package main

import "fmt"

func main() {

    var name string

    fmt.Print("Enter your name: ")
    fmt.Scanf("%s", &name)		// read user input and store the string in the name variable
    fmt.Println("Hello", name)
}
Eager Elk