14 lines
No EOL
208 B
Go
14 lines
No EOL
208 B
Go
package arrays
|
||
|
||
import "fmt"
|
||
|
||
func Demo2() {
|
||
var cities [5]string
|
||
cities[0] = "Ankara"
|
||
cities[1] = "İstanbul"
|
||
cities[2] = "İzmir"
|
||
cities[3] = "Adana"
|
||
cities[4] = "Diyarbakır"
|
||
|
||
fmt.Println(cities)
|
||
} |