Created
October 29, 2019 02:30
-
-
Save parzibyte/4d452ca1146ace26d4e15cb83bd2fe9e 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 = sumatoria / cantidadDeElementos | |
double promedio = (float) sumatoria / (float) cantidadElementos; | |
printf("Sumatoria: %d\n", sumatoria); | |
printf("Promedio: %0.2f\n", promedio); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment