[Newbies] Passing multiple parameters.

Charles Gray tcykgreis at gmail.com
Sat Sep 13 00:45:44 UTC 2008

Is it possible to pass multiple parameters to a method? Suppose I want
to have a method that solves for x in the quadratic equation, ax^2 +
bx +c =0. We know the equation is ((-b + (b*b -4*a*x) sqrt))/(2*a). I
want to pass a, b, and c to a method that might be called
quadraticSolution. This is a hypothetical question but its answer will
help me with something on which I am working.

More information about the Beginners mailing list