Guest User

Untitled

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