This commit is contained in:
a.pivkin
2025-07-16 08:15:26 +03:00
parent cebbf27b3a
commit 0635aaa5ae
53 changed files with 76 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
package main
import (
"bufio"
"fmt"
"os"
)
func main() {
var name string
input := bufio.NewScanner(os.Stdin)
if input.Scan() { //Capture input and save into buffer. Captures until \n
name = input.Text()
}
fmt.Println(name)
}