daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 46 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. public float getAverage(int[] a) {
  2.     float totalCount  = 0;
  3.  
  4.     for (int i=0; i<a.length; i++) {
  5.         totalCount  = totalCount + a[i];
  6.     }
  7.     return (totalCount/a.length);
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top