add: arrays
This commit is contained in:
20
14-arrays/exercises/03-array-literal/main.go
Normal file
20
14-arrays/exercises/03-array-literal/main.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package main
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE: Refactor to Array Literals
|
||||
//
|
||||
// 1. Use the 02-get-set-arrays exercise
|
||||
//
|
||||
// 2. Refactor the array assignments to array literals
|
||||
//
|
||||
// 1. You would need to change the array declarations to array literals
|
||||
//
|
||||
// 2. Then, you would need to move the right-hand side of the assignments,
|
||||
// into the array literals.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// The output should be the same as the 02-get-set-arrays exercise.
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
}
|
Reference in New Issue
Block a user