add: array exercises
This commit is contained in:
11
14-arrays/exercises/05-fix/solution/main.go
Normal file
11
14-arrays/exercises/05-fix/solution/main.go
Normal file
@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
names := [...]string{"Einstein", "Shepard", "Tesla"}
|
||||
books := [5]string{"Kafka's Revenge", "Stay Golden"}
|
||||
|
||||
fmt.Printf("%q\n", names)
|
||||
fmt.Printf("%q\n", books)
|
||||
}
|
Reference in New Issue
Block a user