0
Problem?
package main import "fmt" //create the route() function func main() { var n int fmt.Scanln(&n) var cities []string //take n strings as input and append them to the slice // route(cities...) }
1 Answer
0
The language?
package main import "fmt" //create the route() function func main() { var n int fmt.Scanln(&n) var cities []string //take n strings as input and append them to the slice // route(cities...) }