Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char[] hello = {' ', 'h', 'e', 'l', 'l', 'o'};
- int i = 1;
- while (i < 6)
- {
- hello[i-1] = hello[i];
- i++;
- }
- hello[5] = '!';
- 18. public static boolean isMedian(double[] sample, double m)
- {
- if (sample.length - m == m)
- return true;
- else
- return false;
- }
- 19.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement