Created
February 8, 2013 08:14
-
-
Save fatih/4737398 to your computer and use it in GitHub Desktop.
deneme
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
x := [5]float64{ 98, 93, 77, 82, 83 } | |
// the notation ... specifies an array length equal to the maximum element index plus one. | |
a := [...]float64{ 98, 93, 77, 82, 83 } | |
var total float64 = 0 | |
//for i := 0; i < len(x); i++ { | |
//total += x[i] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment