package main
import (
"fmt"
)
func main() {
var arr = [5]int{45, 95, 100, 89, 4}
for i, val := range arr {
fmt.Printf("index = %d : value = %d\n", i, val)
}
}
/*
run:
index = 0 : value = 45
index = 1 : value = 95
index = 2 : value = 100
index = 3 : value = 89
index = 4 : value = 4
*/