read user input
This commit is contained in:
parent
c2b8a7c667
commit
306ebd4561
|
@ -8,5 +8,5 @@ func main() {
|
|||
fmt.Println("Hi! Please enter your name...")
|
||||
var inpt string
|
||||
fmt.Scan(&inpt)
|
||||
fmt.Printf("Hello %s, wellcome on Hacktoberfest!\n", inpt)
|
||||
fmt.Printf("Hello %s, welcome on Hacktoberfest!\n", inpt)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue