Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- var name string;
- fmt.Scanln(&name)
- fmt.Println("Hello, " + name + "!")
- // fmt.Print("Hello, ", name, "!\n")
- // fmt.Printf("Hello, %s!\n", name)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement