Created
January 7, 2020 23:31
-
-
Save parzibyte/54665ffd8020212b62e6c336957a793c 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
// El promedio es la suma dividida entre la cantidad de elementos | |
float promedio = suma / arreglo.length; | |
System.out.printf("Suma: %d. Promedio: %f", suma, promedio); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment