Guest User

Untitled

a guest
Feb 17th, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include<stdint.h>
  2. #include<stdio.h>
  3.  
  4. void main() {
  5.     uint16_t valor[30000]; media=0;
  6.     uint8_t i;
  7.     for(i=0;i<30000;i++){
  8.         media=media+valor[i];
  9.     }
  10.     media=media/30000;
  11.     printf("La media es %d",&media);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment