wood burning stoves 2.0*
The moose likes Java in General and the fly likes max and min in array? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "max and min in array?" Watch "max and min in array?" New topic
Author

max and min in array?

James Jones
Greenhorn

Joined: Aug 26, 2003
Posts: 3
Hi, i think this might be a bit too easy for here, i am not sure.
but its not easy for me, lol
i have this code which prints out a simple array....right. but i cant figure out a way for it to print out the min, max, and mean...can i have some hints please....
Anupreet Arora
Ranch Hand

Joined: Jun 17, 2003
Posts: 81

Hi,
I have added to your code, to find the max, min and mean of the array elements. Hope you find this helpful.
Regards,
Anupreet
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: max and min in array?