aperles

Untitled

Feb 12th, 2014
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. double valores[100];
  2. double sumatorio=0;
  3. double *p;
  4. int i;
  5.  
  6. p = valores;
  7. for (i=0;i<100;i++){
  8.     sumatorio=sumatorio+*p;
  9.     p++;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment