Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. char[] hello = {' ', 'h', 'e', 'l', 'l', 'o'};
  2.  
  3. int i = 1;
  4. while (i < 6)
  5. {
  6. hello[i-1] = hello[i];
  7. i++;
  8. }
  9. hello[5] = '!';
  10.  
  11.  
  12. 18. public static boolean isMedian(double[] sample, double m)
  13. {
  14. if (sample.length - m == m)
  15. return true;
  16.  
  17. else
  18. return false;
  19.  
  20. }
  21.  
  22. 19.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement