ya lo solucione xd
Publicado por isaac (5 intervenciones) el 28/03/2020 07:37:21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
int main(){
int x,y,z,a;
printf("cuntos numeros quieres dividir?\n\n");
scanf("%i",&x);
for(y = 0; y<= x; y++){
printf("Escribe tu %i numero\n",y);
scaf("%i",&z);
a=z+a;
}
a=a/x;
printf("el resultado es = %i\n",a);
system("pause");
return 0;
}
Valora esta pregunta
-2