" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2025 KUDO.TIPS - All rights reserved.
#include<conio.h>
int main(){
int numero;
int promedio;
float promediototal;
for(int i=0; i<5; i++){
printf("escribe un numero \n);
scanf("%d",&numero);
promedio = numero+promedio;
}
promediototal= promedio/5;
printf("tu promedio es: %.2f",promediototal);
getch();
}