A Java Question??

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2005
Posts: 2
Reputation: spdman01 is an unknown quantity at this point 
Solved Threads: 0
spdman01 spdman01 is offline Offline
Newbie Poster

A Java Question??

 
0
  #1
Jun 11th, 2005
I'm new to Java and the Prof. asked us to create a program that prints out the Avg, Min & max of a set of Array values and I can't find a class or method that seem to do this . Any help would be much apperciated!!!! :rolleyes:
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 55
Reputation: apcxpc is an unknown quantity at this point 
Solved Threads: 0
apcxpc's Avatar
apcxpc apcxpc is offline Offline
Junior Poster in Training

Re: A Java Question??

 
0
  #2
Jun 11th, 2005
The prof probably meant for you to write up a method that does it :!:
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: A Java Question??

 
0
  #3
Jun 11th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: A Java Question??

 
0
  #4
Jun 12th, 2005
you mean those freaking homework questions that require only a little freaking bit of effort to get a freaking simple solution for?
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: A Java Question??

 
0
  #5
Jun 12th, 2005
Originally Posted by jwenting
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:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC