View difference between Paste ID: 59W7PMLB and KQGRVCrT
SHOW: | | - or go back to the newest paste.
1-
#include<stdint.h>
1+
#include <stdint.h>
2-
#include<stdio.h>
2+
#include <stdio.h>
3
4
uint16_t valor[30000];
5-
	uint16_t valor[30000]; media=0;
5+
6-
	uint8_t i;
6+
7
8
	uint32_t media=0;
9
	uint16_t i;
10
11-
	printf("La media es %d",&media);
11+
12
		media=media+valor[i];
13
	}
14
	media=media/30000;
15
	printf("La media es %d\n",media);
16
}