Created
March 8, 2018 05:03
-
-
Save parzibyte/573f801847af869b34d2ee0cac12b85c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
numeros := [...]int {18, 28, 21, 96, 97} | |
for indice, valor := range numeros { | |
fmt.Printf("Estamos en el índice %d, y su valor es %d\n", indice, valor) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment