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.

THINK

That's what i've been doing :(

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.