Created
November 6, 2019 14:17
-
-
Save Dominaezzz/598a7af818ec0b0b4a2c7b0944007b53 to your computer and use it in GitHub Desktop.
Lightning Talk
This file contains hidden or 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
float values[10]; | |
// Initialise values | |
float sum = 0.0f; | |
for (int i = 9; i >= 0; --i) { | |
sum += values[i]; | |
} | |
return sum; |
This file contains hidden or 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
float values[10]; | |
// Initialise values | |
float sum = 0.0f; | |
for (int i = 0; i < 10; i++) { | |
sum += values[i]; | |
} | |
return sum; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment