943,973 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1678
  • Java RSS
Jun 11th, 2005
0

A Java Question??

Expand Post »
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:
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
spdman01 is offline Offline
2 posts
since Jun 2005
Jun 11th, 2005
0

Re: A Java Question??

The prof probably meant for you to write up a method that does it :!:
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
apcxpc is offline Offline
55 posts
since Sep 2004
Jun 11th, 2005
0

Re: A Java Question??

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.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Jun 12th, 2005
0

Re: A Java Question??

you mean those freaking homework questions that require only a little freaking bit of effort to get a freaking simple solution for?
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Jun 12th, 2005
0

Re: A Java Question??

Quote 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:
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: New to Java, can't get program to compile
Next Thread in Java Forum Timeline: Suggest me what other resources should i need to have?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC