help me with this...pretty please
can anyone give a code in this problem....
a swimmer's score is determined by a panel of 6 judges who each decide a score between 0.0 and 10.0. the final score is determined by discarding the high and low scores, and averaging the remaining 4. Whrite a java program that takes 6 real command line representing the 6 scores and prints out their average, after throwing out the highest and lowest scores.
[416 byte] By [
jey_lia] at [2007-11-27 9:29:02]

Your homework not ours.
You write the code not us.
When you have written some code and have a specfic question come back.
To get you started, read in the six scores and store them in an array. Sort the array. Then find the average of elements from index 1 to 4. Index 0 will be to lowest and index 5 will be the highest which you need to ignore. You do know how to calculate an average don't you?