Solution: how long is this string?
examples/how-long-is-this-string/how_long_is_this_string.go
package main import "fmt" func main() { var str string fmt.Print("The string: ") fmt.Scan(&str) fmt.Printf("%v \n", len(str)) }
package main import "fmt" func main() { var str string fmt.Print("The string: ") fmt.Scan(&str) fmt.Printf("%v \n", len(str)) }