aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/slices/slices2/main.go
blob: 54595ffc3a2e45e10147103a55f885f4acd371ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// slices2
// Make me compile!

// I AM NOT DONE
package main

import "fmt"

func main() {
	names := [4]string{"John", "Maria", "Carl", "Peter"}
	lastTwoNames := names[] // after figuring out the answer, try with other low/high bounds
	fmt.Println(lastTwoNames)
}