954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Method Help

I've just started programming, and I'm taking a java class as one of my electives this year. We have a program due tomorrow and I'm very much lost. I think i know what I want to do, but I don't understand the concept or know enough code to get everything running.

Our assignment is to:

"Find the mean and median through methods called findMean and findMedian. The size should be a constant 10, but you are required to use a method called fillArray to stuff the array with values"

I understand methods, but i'm confused as to how I would use a method to do all these things. So far we've been using methods only to print things out.

JanieRae
Newbie Poster
4 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

THINK

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

That's what i've been doing :(

JanieRae
Newbie Poster
4 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

then why haven't you figured it out yet?
Maybe you were thinking about the wrong thing? ;)

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: