Ask your own question, for FREE!
Mathematics 9 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!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!