First with ‘a’
Write a function FirstWithA(words []int) string that, given a slice of strings, returns the first string that begins with a.
To test the function you can use the main below:
func main() {
const N = 10
words := make([]string, N)
for i := 0; i < N; i++ {
fmt.Scan(&words[i])
}
fmt.Println(firstWithA(words))
}