The prof probably meant for you to write up a method that does it :!:
apcxpc
Junior Poster in Training
55 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
Sort the freakin array, then get the first freakin element(min), then the freakin last(max), then freakin loop through and keep count, then freakin average it. It's not that freakin hard, and don't post homework questions again unless you show some effort.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
you mean those freaking homework questions that require only a little freaking bit of effort to get a freaking simple solution for? ;)
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
you mean those freaking homework questions that require only a little freaking bit of effort to get a freaking simple solution for? ;)
what's up with saying freaking every other word? :lol:
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20