diff --git a/14-arrays/exercises/01-declare-empty/main.go b/14-arrays/exercises/01-declare-empty/main.go index fb28d0c..a858feb 100644 --- a/14-arrays/exercises/01-declare-empty/main.go +++ b/14-arrays/exercises/01-declare-empty/main.go @@ -13,7 +13,7 @@ package main // // 1. Declare and print the following arrays with their types: // -// 1. The names of your best three friends (names array) +// 1. The names of your three best friends (names array) // // 2. The distances to five different locations (distances array) // diff --git a/14-arrays/exercises/01-declare-empty/solution/main.go b/14-arrays/exercises/01-declare-empty/solution/main.go index 8203130..c991f4c 100644 --- a/14-arrays/exercises/01-declare-empty/solution/main.go +++ b/14-arrays/exercises/01-declare-empty/solution/main.go @@ -12,7 +12,7 @@ import "fmt" func main() { var ( - names [3]string // The names of your best three friends + names [3]string // The names of your three best friends distances [5]int // The distances to five different locations data [5]byte // A data buffer with five bytes of capacity ratios [1]float64 // Currency exchange ratios only for a single currency diff --git a/14-arrays/exercises/02-get-set-arrays/solution/main.go b/14-arrays/exercises/02-get-set-arrays/solution/main.go index a3742bb..fdee3a5 100644 --- a/14-arrays/exercises/02-get-set-arrays/solution/main.go +++ b/14-arrays/exercises/02-get-set-arrays/solution/main.go @@ -15,7 +15,7 @@ import ( func main() { var ( - names [3]string // The names of your best three friends + names [3]string // The names of your three best friends distances [5]int // The distances to five different locations data [5]byte // A data buffer with five bytes of capacity ratios [1]float64 // Currency exchange ratios only for a single currency diff --git a/14-arrays/exercises/03-array-literal/solution/main.go b/14-arrays/exercises/03-array-literal/solution/main.go index 46f53f5..2c7d232 100644 --- a/14-arrays/exercises/03-array-literal/solution/main.go +++ b/14-arrays/exercises/03-array-literal/solution/main.go @@ -14,7 +14,7 @@ import ( ) func main() { - // The names of your best three friends + // The names of your three best friends names := [3]string{ "Einstein", "Tesla", diff --git a/14-arrays/exercises/04-ellipsis/solution/main.go b/14-arrays/exercises/04-ellipsis/solution/main.go index 12a32a3..2fec370 100644 --- a/14-arrays/exercises/04-ellipsis/solution/main.go +++ b/14-arrays/exercises/04-ellipsis/solution/main.go @@ -14,7 +14,7 @@ import ( ) func main() { - // The names of your best three friends + // The names of your three best friends names := [...]string{ "Einstein", "Tesla", diff --git a/16-slices/exercises/03-slice-literal/main.go b/16-slices/exercises/03-slice-literal/main.go index a99fa11..78fefd9 100644 --- a/16-slices/exercises/03-slice-literal/main.go +++ b/16-slices/exercises/03-slice-literal/main.go @@ -16,7 +16,7 @@ import "fmt" // 1. Assign the following data using slice literals to the slices that // you've declared in the first exercise. // -// 1. The names of your best three friends (to the names slice) +// 1. The names of your three best friends (to the names slice) // // 2. The distances to five different locations (to the distances slice) //