×
×
Correct!
Create an array of type string called cars.
package main
import ("fmt")
func main() {
var @(4) = [4]@(6){"Volvo", "BMW", "Ford", "Mazda"}
fmt.Print(@(4))
}
package main
import ("fmt")
func main() {
var cars = [4]string{"Volvo", "BMW", "Ford", "Mazda"}
fmt.Print(cars)
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 28 exercises.
Are you sure you want to continue?