Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (anonymous):

I need some help writing a program, not sure if this is the right place to ask, but here goes: i have a data array and i want to find the median of the array, here's what i have right now, if anyone can help, it would be greatly appreciated public double median() { bubbleSort(values); if (values.length % 2 == 1){ return middle(); } else{ double lower = (values.length/2); double upper = (values.length/2+1); return (lower + upper) / 2.0;

OpenStudy (anonymous):

help? its for java

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!