add: arrays
This commit is contained in:
18
14-arrays/exercises/04-ellipsis/main.go
Normal file
18
14-arrays/exercises/04-ellipsis/main.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE: Refactor to Ellipsis
|
||||
//
|
||||
// 1. Use the 03-array-literal exercise
|
||||
//
|
||||
// 2. Refactor the length of the array literals to ellipsis
|
||||
//
|
||||
// This means: Use the ellipsis instead of defining the array's length
|
||||
// manually.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// The output should be the same as the 03-array-literal exercise.
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
}
|
Reference in New Issue
Block a user